aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-03-20 15:36:44 -0400
committerDavid S. Miller <davem@davemloft.net>2009-03-22 01:55:36 -0400
commitd44c3a2e0e5d2c75d22284462c66d166604b1f18 (patch)
tree3ce27b093bce90d0b9b5926be35b1cf8fd520f52
parent5ae4efbcd2611562a8b93596be034e63495706a5 (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/Kconfig9
-rw-r--r--net/Kconfig3
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
26# that for each of the symbols. 26# that for each of the symbols.
27if NETDEVICES 27if NETDEVICES
28 28
29config COMPAT_NET_DEV_OPS
30 default y
31 bool "Enable older network device API compatiablity"
32 ---help---
33 This option enables kernel compatiability with older network devices
34 that do not use net_device_ops interface.
35
36 If unsure, say Y.
37
29config IFB 38config IFB
30 tristate "Intermediate Functional Block support" 39 tristate "Intermediate Functional Block support"
31 depends on NET_CLS_ACT 40 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
24 24
25menu "Networking options" 25menu "Networking options"
26 26
27config COMPAT_NET_DEV_OPS
28 def_bool y
29
30source "net/packet/Kconfig" 27source "net/packet/Kconfig"
31source "net/unix/Kconfig" 28source "net/unix/Kconfig"
32source "net/xfrm/Kconfig" 29source "net/xfrm/Kconfig"