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 14:05:26 +0200 |
commit | 4228c3942821a67b8e313f7c35fdc5832cb67081 (patch) | |
tree | 60472b9a1f0a881bbf0911e68039fdfc62a34e0f /drivers/net/appletalk | |
parent | move netdev_boot_setup into Space.c (diff) | |
download | linux-4228c3942821a67b8e313f7c35fdc5832cb67081.tar.xz 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/appletalk')
-rw-r--r-- | drivers/net/appletalk/Kconfig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/appletalk/Kconfig b/drivers/net/appletalk/Kconfig index 43918398f0d3..90b9f1d6eda9 100644 --- a/drivers/net/appletalk/Kconfig +++ b/drivers/net/appletalk/Kconfig @@ -52,7 +52,9 @@ config LTPC config COPS tristate "COPS LocalTalk PC support" - depends on DEV_APPLETALK && (ISA || EISA) + depends on DEV_APPLETALK && ISA + depends on NETDEVICES + select NETDEV_LEGACY_INIT help This allows you to use COPS AppleTalk cards to connect to LocalTalk networks. You also need version 1.3.3 or later of the netatalk |