From: Jan Glauber Date: Wed, 5 Dec 2012 04:04:40 +0000 (+0000) Subject: 3com: make 3c59x depend on HAS_IOPORT X-Git-Tag: v3.8-rc1~139^2~81 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a573ea56a9b014e3ab09c44ccb659ba6d538b81e;p=karo-tx-linux.git 3com: make 3c59x depend on HAS_IOPORT The 3com driver for 3c59x requires ioport_map. Since not all architectures support IO port mapping make 3c59x dependent on HAS_IOPORT. Signed-off-by: Jan Glauber Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/3com/Kconfig b/drivers/net/ethernet/3com/Kconfig index bad4fa6815c5..eb56174469a7 100644 --- a/drivers/net/ethernet/3com/Kconfig +++ b/drivers/net/ethernet/3com/Kconfig @@ -80,7 +80,7 @@ config PCMCIA_3C589 config VORTEX tristate "3c590/3c900 series (592/595/597) \"Vortex/Boomerang\" support" - depends on (PCI || EISA) + depends on (PCI || EISA) && HAS_IOPORT select NET_CORE select MII ---help---