aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ethernet/smsc/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-08-03 13:40:47 +0200
committerDavid S. Miller <davem@davemloft.net>2021-08-03 13:05:26 +0100
commit4228c3942821a67b8e313f7c35fdc5832cb67081 (patch)
tree60472b9a1f0a881bbf0911e68039fdfc62a34e0f /drivers/net/ethernet/smsc/Kconfig
parentmove netdev_boot_setup into Space.c (diff)
downloadwireguard-linux-4228c3942821a67b8e313f7c35fdc5832cb67081.tar.xz
wireguard-linux-4228c3942821a67b8e313f7c35fdc5832cb67081.zip
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/smsc/Kconfig')
-rw-r--r--drivers/net/ethernet/smsc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/smsc/Kconfig b/drivers/net/ethernet/smsc/Kconfig
index c52a38df0e0d..72e42a868346 100644
--- a/drivers/net/ethernet/smsc/Kconfig
+++ b/drivers/net/ethernet/smsc/Kconfig
@@ -23,6 +23,7 @@ config SMC9194
tristate "SMC 9194 support"
depends on ISA
select CRC32
+ select NETDEV_LEGACY_INIT
help
This is support for the SMC9xxx based Ethernet cards. Choose this
option if you have a DELL laptop with the docking station, or