From: Jan Glauber Date: Wed, 5 Dec 2012 04:04:40 +0000 (+0000) Subject: 3com: make 3c59x depend on HAS_IOPORT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a573ea56a9b014e3ab09c44ccb659ba6d538b81e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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---