linux/drivers/net/ethernet/cirrus
Arnd Bergmann fc9a570783 net: cs89x0: always build platform code if !HAS_IOPORT_MAP
The cs89x0 driver can either be built as an ISA driver or a platform
driver, the choice is controlled by the CS89x0_PLATFORM Kconfig
symbol. Building the ISA driver on a system that does not have
a way to map I/O ports fails with this error:

drivers/built-in.o: In function `cs89x0_ioport_probe.constprop.1':
:(.init.text+0x4794): undefined reference to `ioport_map'
:(.init.text+0x4830): undefined reference to `ioport_unmap'

This changes the Kconfig logic to take that option away and
always force building the platform variant of this driver if
CONFIG_HAS_IOPORT_MAP is not set. This is the only correct
choice in this case, and it avoids the build error.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-29 15:08:20 -08:00
..
cs89x0.c cirrus: cs89x0: fix time comparison 2014-12-15 11:44:21 -05:00
cs89x0.h cs89x0: Move the driver into the Cirrus dir 2011-10-18 23:41:43 -04:00
ep93xx_eth.c net: ethernet: cirrus: drop owner assignment from platform_drivers 2014-10-20 16:21:06 +02:00
Kconfig net: cs89x0: always build platform code if !HAS_IOPORT_MAP 2015-01-29 15:08:20 -08:00
mac89x0.c cirrus/mac89x0: Remove superfluous interrupt disable/restore 2014-10-24 00:43:28 -04:00
Makefile net/ethernet: Move mac89x0.c from apple to cirrus 2011-11-01 19:30:38 -04:00