Skip to content

Commit

Permalink
Use menuconfig objects: netdev
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Engelhardt authored and Jeff Garzik committed May 11, 2007
1 parent 53f9994 commit f30486d
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1898,8 +1898,12 @@ endmenu
# Gigabit Ethernet
#

menu "Ethernet (1000 Mbit)"
menuconfig NETDEV_1000
bool "Ethernet (1000 Mbit)"
depends on !UML
default y

if NETDEV_1000

config ACENIC
tristate "Alteon AceNIC/3Com 3C985/NetGear GA620 Gigabit support"
Expand Down Expand Up @@ -2326,14 +2330,18 @@ config ATL1
To compile this driver as a module, choose M here. The module
will be called atl1.

endmenu
endif # NETDEV_1000

#
# 10 Gigabit Ethernet
#

menu "Ethernet (10000 Mbit)"
menuconfig NETDEV_10000
bool "Ethernet (10000 Mbit)"
depends on !UML
default y

if NETDEV_10000

config CHELSIO_T1
tristate "Chelsio 10Gb Ethernet support"
Expand Down Expand Up @@ -2507,7 +2515,7 @@ config MLX4_DEBUG
debug_level module parameter (which can also be set after
the driver is loaded through sysfs).

endmenu
endif # NETDEV_10000

source "drivers/net/tokenring/Kconfig"

Expand Down

0 comments on commit f30486d

Please sign in to comment.