diff options
author | Jan Engelhardt <jengelh@linux01.gwdg.de> | 2007-05-11 01:52:56 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-11 17:53:18 -0400 |
commit | f30486d57bceec2364aa696403d64429ada61b60 (patch) | |
tree | 0949e700a5a3f9129a36d2bb0aea81c5171f1219 /drivers | |
parent | 53f99941c1d0bd1d75c9ea7bf4dfcb3ce3ec4b05 (diff) |
Use menuconfig objects: netdev
Use menuconfigs instead of menus, so the whole menu can be disabled at once
instead of going through all options.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/Kconfig | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index fa489b10c38c..8a7f9e9fb8d8 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -1898,8 +1898,12 @@ endmenu | |||
1898 | # Gigabit Ethernet | 1898 | # Gigabit Ethernet |
1899 | # | 1899 | # |
1900 | 1900 | ||
1901 | menu "Ethernet (1000 Mbit)" | 1901 | menuconfig NETDEV_1000 |
1902 | bool "Ethernet (1000 Mbit)" | ||
1902 | depends on !UML | 1903 | depends on !UML |
1904 | default y | ||
1905 | |||
1906 | if NETDEV_1000 | ||
1903 | 1907 | ||
1904 | config ACENIC | 1908 | config ACENIC |
1905 | tristate "Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit support" | 1909 | tristate "Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit support" |
@@ -2326,14 +2330,18 @@ config ATL1 | |||
2326 | To compile this driver as a module, choose M here. The module | 2330 | To compile this driver as a module, choose M here. The module |
2327 | will be called atl1. | 2331 | will be called atl1. |
2328 | 2332 | ||
2329 | endmenu | 2333 | endif # NETDEV_1000 |
2330 | 2334 | ||
2331 | # | 2335 | # |
2332 | # 10 Gigabit Ethernet | 2336 | # 10 Gigabit Ethernet |
2333 | # | 2337 | # |
2334 | 2338 | ||
2335 | menu "Ethernet (10000 Mbit)" | 2339 | menuconfig NETDEV_10000 |
2340 | bool "Ethernet (10000 Mbit)" | ||
2336 | depends on !UML | 2341 | depends on !UML |
2342 | default y | ||
2343 | |||
2344 | if NETDEV_10000 | ||
2337 | 2345 | ||
2338 | config CHELSIO_T1 | 2346 | config CHELSIO_T1 |
2339 | tristate "Chelsio 10Gb Ethernet support" | 2347 | tristate "Chelsio 10Gb Ethernet support" |
@@ -2507,7 +2515,7 @@ config MLX4_DEBUG | |||
2507 | debug_level module parameter (which can also be set after | 2515 | debug_level module parameter (which can also be set after |
2508 | the driver is loaded through sysfs). | 2516 | the driver is loaded through sysfs). |
2509 | 2517 | ||
2510 | endmenu | 2518 | endif # NETDEV_10000 |
2511 | 2519 | ||
2512 | source "drivers/net/tokenring/Kconfig" | 2520 | source "drivers/net/tokenring/Kconfig" |
2513 | 2521 | ||