Skip to content

Commit

Permalink
netdev: expose net_device_ops compat as config option
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Stephen Hemminger authored and davem330 committed Mar 22, 2009
1 parent 5ae4efb commit d44c3a2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 9 additions & 0 deletions drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d44c3a2

Please sign in to comment.