diff options
author | Stephen Hemminger | 2009-03-20 19:36:44 +0000 |
---|---|---|
committer | David S. Miller | 2009-03-21 22:55:36 -0700 |
commit | d44c3a2e0e5d2c75d22284462c66d166604b1f18 (patch) | |
tree | 3ce27b093bce90d0b9b5926be35b1cf8fd520f52 | |
parent | 5ae4efbcd2611562a8b93596be034e63495706a5 (diff) |
netdev: expose net_device_ops compat as config option
Now that most network device drivers in (all but one in x86_64 allmodconfig)
support net_device_ops. Expose it as a configuration parameter. Still
need to address even older 32 bit drivers, and other arch before
compatiablity can be scheduled for removal in some future release.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/Kconfig | 9 | ||||
-rw-r--r-- | net/Kconfig | 3 |
2 files changed, 9 insertions, 3 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 6b1af549b2ff..533cc411ee48 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -26,6 +26,15 @@ menuconfig NETDEVICES # that for each of the symbols. if NETDEVICES +config COMPAT_NET_DEV_OPS + default y + bool "Enable older network device API compatiablity" + ---help--- + This option enables kernel compatiability with older network devices + that do not use net_device_ops interface. + + If unsure, say Y. + config IFB tristate "Intermediate Functional Block support" depends on NET_CLS_ACT diff --git a/net/Kconfig b/net/Kconfig index c9fdcd7e71ea..93998a9c39c2 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -24,9 +24,6 @@ if NET menu "Networking options" -config COMPAT_NET_DEV_OPS - def_bool y - source "net/packet/Kconfig" source "net/unix/Kconfig" source "net/xfrm/Kconfig" |