summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/Kconfig
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2014-08-05 23:10:52 +0200
committerDavid S. Miller <davem@davemloft.net>2014-08-06 01:48:59 +0200
commit1bb5a356c3ea6e633908e0ebd6695b13debc3d86 (patch)
treeb56853fafe2dc303364fb79eff326e83664226a9 /drivers/net/usb/Kconfig
parentMerge branch 'amd-xgbe' (diff)
downloadlinux-1bb5a356c3ea6e633908e0ebd6695b13debc3d86.tar.xz
linux-1bb5a356c3ea6e633908e0ebd6695b13debc3d86.zip
net: reduce USB network driver config options.
USB network drivers are already handled in drivers/net/usb/Kconfig. Let's save the maintenance burden of dependencies in drivers/net/Makefile. The newly introduced USB_NET_DRIVERS umbrella config option defaults to 'y' so as to minimize the changes of behavior. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/Kconfig')
-rw-r--r--drivers/net/usb/Kconfig13
1 files changed, 8 insertions, 5 deletions
diff --git a/drivers/net/usb/Kconfig b/drivers/net/usb/Kconfig
index 7e7269fd3707..9f194a0bef7c 100644
--- a/drivers/net/usb/Kconfig
+++ b/drivers/net/usb/Kconfig
@@ -1,12 +1,16 @@
#
# USB Network devices configuration
#
-comment "Networking support is needed for USB Network Adapter support"
- depends on USB && !NET
+comment "Host-side USB support is needed for USB Network Adapter support"
+ depends on !USB && NET
-menu "USB Network Adapters"
+menuconfig USB_NET_DRIVERS
+ bool "USB Network Adapters"
+ default y
depends on USB && NET
+if USB_NET_DRIVERS
+
config USB_CATC
tristate "USB CATC NetMate-based Ethernet device support"
select CRC32
@@ -568,5 +572,4 @@ config USB_VL600
http://ubuntuforums.org/showpost.php?p=10589647&postcount=17
-
-endmenu
+endif # USB_NET_DRIVERS