linux_dsm_epyc7002/drivers/net/ethernet/dec/tulip
Arnd Bergmann de92718883 net: tulip: turn compile-time warning into dev_warn()
The tulip driver causes annoying build-time warnings for allmodconfig
builds for all recent architectures:

dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined
dec/tulip/tulip_core.c:101:2: warning: #warning Processor architecture undefined!

This is the last remaining warning for arm64, and I'd like to get rid of
it. We don't really know the cache line size, architecturally it would
be at least 16 bytes, but all implementations I found have 64 or 128
bytes. Configuring tulip for 32-byte lines as we do on ARM32 seems to
be the safe but slow default, and nobody who cares about performance these
days would use a tulip chip anyway, so we can just use that.

To save the next person the job of trying to find out what this is for
and picking a default for their architecture just to kill off the warning,
I'm now removing the preprocessor #warning and turning it into a pr_warn
or dev_warn that prints the equivalent information when the driver gets
loaded.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-20 11:02:48 -05:00
..
21142.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
de4x5.c net: tulip: rearrange order of searching for substrings 2015-06-03 20:21:24 -07:00
de4x5.h
de2104x.c drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
dmfe.c ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00
eeprom.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
interrupt.c tulip: Properly check dma mapping result 2013-06-13 17:09:40 -07:00
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile
media.c tulip: cleanup by using ARRAY_SIZE() 2014-01-23 13:28:29 -08:00
pnic2.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
pnic.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
timer.c tulip: Poll link status more frequently for Comet chips 2014-06-22 17:12:36 -07:00
tulip_core.c net: tulip: turn compile-time warning into dev_warn() 2015-11-20 11:02:48 -05:00
tulip.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
uli526x.c drivers/net/ethernet/dec/tulip/uli526x.c: fix misleading indentation in uli526x_timer 2015-06-03 19:43:49 -07:00
winbond-840.c net: tulip: turn compile-time warning into dev_warn() 2015-11-20 11:02:48 -05:00
xircom_cb.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00