linux_dsm_epyc7002/drivers/net/ethernet/amd
Arnd Bergmann e9b106b8fb net: lance,ni64: don't build for ARM
The ni65 and lance ethernet drivers manually program the ISA DMA
controller that is only available on x86 PCs and a few compatible
systems. Trying to build it on ARM results in this error:

ni65.c: In function 'ni65_probe1':
ni65.c:496:62: error: 'DMA1_STAT_REG' undeclared (first use in this function)
     ((inb(DMA1_STAT_REG) >> 4) & 0x0f)
                                                              ^
ni65.c:496:62: note: each undeclared identifier is reported only once for each function it appears in
ni65.c:497:63: error: 'DMA2_STAT_REG' undeclared (first use in this function)
     | (inb(DMA2_STAT_REG) & 0xf0);

The DMA1_STAT_REG and DMA2_STAT_REG registers are only defined for
alpha, mips, parisc, powerpc and x86, although it is not clear
which subarchitectures actually have them at the correct location.

This patch for now just disables it for ARM, to avoid randconfig
build errors. We could also decide to limit it to the set of
architectures on which it does compile, but that might look more
deliberate than guessing based on where the drivers build.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-29 15:08:21 -08:00
..
xgbe amd-xgbe: Use proper Rx flow control register 2015-01-23 22:17:06 -08:00
7990.c
7990.h
a2065.c
a2065.h
am79c961a.c
am79c961a.h
amd8111e.c ethernet: amd: fix 'foo* bar' 2014-07-14 19:14:15 -07:00
amd8111e.h
ariadne.c
ariadne.h
atarilance.c
au1000_eth.c net: ethernet: amd: drop owner assignment from platform_drivers 2014-10-20 16:21:04 +02:00
au1000_eth.h
declance.c declance: Fix 64-bit compilation warnings 2014-07-08 14:04:30 -07:00
hplance.c
hplance.h
Kconfig net: lance,ni64: don't build for ARM 2015-01-29 15:08:21 -08:00
lance.c
Makefile
mvme147.c
ni65.c
ni65.h
nmclan_cs.c am2150: Update nmclan_cs.c to use update PCMCIA API 2014-09-22 14:27:44 -04:00
pcnet32.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
sun3lance.c
sunlance.c net: ethernet: amd: drop owner assignment from platform_drivers 2014-10-20 16:21:04 +02:00