USB: Use menuconfig objects
commit 04d06ad0f1
have added menuconfig support
for the whole USB Kconfig, but there are still menuconfig need for usb/serial,
usb/atm, and usb/gadget, so that the user can disable all the options in that
menu at once instead of having to disable each option separately.
Signed-off-by: Denis Cheng <crquan@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
f54aab6ebc
commit
b75be4abf1
@ -2,10 +2,7 @@
|
|||||||
# USB/ATM DSL configuration
|
# USB/ATM DSL configuration
|
||||||
#
|
#
|
||||||
|
|
||||||
menu "USB DSL modem support"
|
menuconfig USB_ATM
|
||||||
depends on USB
|
|
||||||
|
|
||||||
config USB_ATM
|
|
||||||
tristate "USB DSL modem support"
|
tristate "USB DSL modem support"
|
||||||
depends on USB && ATM
|
depends on USB && ATM
|
||||||
select CRC32
|
select CRC32
|
||||||
@ -18,6 +15,8 @@ config USB_ATM
|
|||||||
To compile this driver as a module, choose M here: the
|
To compile this driver as a module, choose M here: the
|
||||||
module will be called usbatm.
|
module will be called usbatm.
|
||||||
|
|
||||||
|
if USB_ATM
|
||||||
|
|
||||||
config USB_SPEEDTOUCH
|
config USB_SPEEDTOUCH
|
||||||
tristate "Speedtouch USB support"
|
tristate "Speedtouch USB support"
|
||||||
depends on USB_ATM
|
depends on USB_ATM
|
||||||
@ -70,4 +69,4 @@ config USB_XUSBATM
|
|||||||
To compile this driver as a module, choose M here: the
|
To compile this driver as a module, choose M here: the
|
||||||
module will be called xusbatm.
|
module will be called xusbatm.
|
||||||
|
|
||||||
endmenu
|
endif # USB_ATM
|
||||||
|
@ -12,10 +12,9 @@
|
|||||||
# With help from a special transceiver and a "Mini-AB" jack, systems with
|
# With help from a special transceiver and a "Mini-AB" jack, systems with
|
||||||
# both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG).
|
# both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG).
|
||||||
#
|
#
|
||||||
menu "USB Gadget Support"
|
|
||||||
|
|
||||||
config USB_GADGET
|
menuconfig USB_GADGET
|
||||||
tristate "Support for USB Gadgets"
|
tristate "USB Gadget Support"
|
||||||
help
|
help
|
||||||
USB is a master/slave protocol, organized with one master
|
USB is a master/slave protocol, organized with one master
|
||||||
host (such as a PC) controlling up to 127 peripheral devices.
|
host (such as a PC) controlling up to 127 peripheral devices.
|
||||||
@ -42,6 +41,8 @@ config USB_GADGET
|
|||||||
For more information, see <http://www.linux-usb.org/gadget> and
|
For more information, see <http://www.linux-usb.org/gadget> and
|
||||||
the kernel DocBook documentation for this API.
|
the kernel DocBook documentation for this API.
|
||||||
|
|
||||||
|
if USB_GADGET
|
||||||
|
|
||||||
config USB_GADGET_DEBUG
|
config USB_GADGET_DEBUG
|
||||||
boolean "Debugging messages"
|
boolean "Debugging messages"
|
||||||
depends on USB_GADGET && DEBUG_KERNEL && EXPERIMENTAL
|
depends on USB_GADGET && DEBUG_KERNEL && EXPERIMENTAL
|
||||||
@ -570,4 +571,4 @@ config USB_G_PRINTER
|
|||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
endmenu
|
endif # USB_GADGET
|
||||||
|
@ -2,10 +2,7 @@
|
|||||||
# USB Serial device configuration
|
# USB Serial device configuration
|
||||||
#
|
#
|
||||||
|
|
||||||
menu "USB Serial Converter support"
|
menuconfig USB_SERIAL
|
||||||
depends on USB!=n
|
|
||||||
|
|
||||||
config USB_SERIAL
|
|
||||||
tristate "USB Serial Converter support"
|
tristate "USB Serial Converter support"
|
||||||
depends on USB
|
depends on USB
|
||||||
---help---
|
---help---
|
||||||
@ -20,6 +17,8 @@ config USB_SERIAL
|
|||||||
To compile this driver as a module, choose M here: the
|
To compile this driver as a module, choose M here: the
|
||||||
module will be called usbserial.
|
module will be called usbserial.
|
||||||
|
|
||||||
|
if USB_SERIAL
|
||||||
|
|
||||||
config USB_SERIAL_CONSOLE
|
config USB_SERIAL_CONSOLE
|
||||||
bool "USB Serial Console device support (EXPERIMENTAL)"
|
bool "USB Serial Console device support (EXPERIMENTAL)"
|
||||||
depends on USB_SERIAL=y && EXPERIMENTAL
|
depends on USB_SERIAL=y && EXPERIMENTAL
|
||||||
@ -606,6 +605,4 @@ config USB_SERIAL_DEBUG
|
|||||||
To compile this driver as a module, choose M here: the
|
To compile this driver as a module, choose M here: the
|
||||||
module will be called usb-debug.
|
module will be called usb-debug.
|
||||||
|
|
||||||
|
endif # USB_SERIAL
|
||||||
endmenu
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user