diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-08-03 13:40:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-03 13:05:26 +0100 |
commit | 4228c3942821a67b8e313f7c35fdc5832cb67081 (patch) | |
tree | 60472b9a1f0a881bbf0911e68039fdfc62a34e0f /drivers/net/ethernet/cirrus | |
parent | 5ea2f5ffde39251115ef9a566262fb9e52b91cb7 (diff) | |
download | linux-4228c3942821a67b8e313f7c35fdc5832cb67081.tar.bz2 |
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/cirrus')
-rw-r--r-- | drivers/net/ethernet/cirrus/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cirrus/Kconfig b/drivers/net/ethernet/cirrus/Kconfig index 7141340a8b0e..dac1764ba740 100644 --- a/drivers/net/ethernet/cirrus/Kconfig +++ b/drivers/net/ethernet/cirrus/Kconfig @@ -26,6 +26,7 @@ config CS89x0_ISA depends on ISA depends on !PPC32 depends on CS89x0_PLATFORM=n + select NETDEV_LEGACY_INIT select CS89x0 help Support for CS89x0 chipset based Ethernet cards. If you have a |