summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/8390/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-08-03 14:40:47 +0300
committerDavid S. Miller <davem@davemloft.net>2021-08-03 15:05:26 +0300
commit4228c3942821a67b8e313f7c35fdc5832cb67081 (patch)
tree60472b9a1f0a881bbf0911e68039fdfc62a34e0f /drivers/net/ethernet/8390/Kconfig
parent5ea2f5ffde39251115ef9a566262fb9e52b91cb7 (diff)
downloadlinux-4228c3942821a67b8e313f7c35fdc5832cb67081.tar.xz
make legacy ISA probe optional
There are very few ISA drivers left that rely on the static probing from drivers/net/Space.o. Make them all select a new CONFIG_NETDEV_LEGACY_INIT symbol, and drop the entire probe logic when that is disabled. The 9 drivers that are called from Space.c are the same set that calls netdev_boot_setup_check(). Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/8390/Kconfig')
-rw-r--r--drivers/net/ethernet/8390/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/8390/Kconfig b/drivers/net/ethernet/8390/Kconfig
index 9f4b302fd2ce..a4130e643342 100644
--- a/drivers/net/ethernet/8390/Kconfig
+++ b/drivers/net/ethernet/8390/Kconfig
@@ -102,6 +102,7 @@ config MCF8390
config NE2000
tristate "NE2000/NE1000 support"
depends on (ISA || (Q40 && m) || MACH_TX49XX || ATARI_ETHERNEC)
+ select NETDEV_LEGACY_INIT if ISA
select CRC32
help
If you have a network (Ethernet) card of this type, say Y here.
@@ -169,6 +170,7 @@ config STNIC
config ULTRA
tristate "SMC Ultra support"
depends on ISA
+ select NETDEV_LEGACY_INIT
select CRC32
help
If you have a network (Ethernet) card of this type, say Y here.
@@ -186,6 +188,7 @@ config ULTRA
config WD80x3
tristate "WD80*3 support"
depends on ISA
+ select NETDEV_LEGACY_INIT
select CRC32
help
If you have a network (Ethernet) card of this type, say Y here.