diff options
author | Florian Fainelli <florian@openwrt.org> | 2013-04-09 08:29:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-09 19:49:07 -0400 |
commit | 25e11ec4fe5271c4895265ecbb69531e6b0c0dd5 (patch) | |
tree | ff7baadd2effb7e76b62fce13b7392e4a59f8d03 | |
parent | a2a2d6c7f93e160b52a4ad0164db1f43f743ae0f (diff) |
USB: regroup all depends on USB within an if USB block
This patch removes the depends on USB from all config symbols in
drivers/usb/host/Kconfig and replace that with an if USB / endif block
as suggested by Alan Stern. Some source ... Kconfig lines have been
shuffled around to permit a better regroupment of the Kconfig files
depending on "config USB" item. No functionnal change is introduced.
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/Kconfig | 23 | ||||
-rw-r--r-- | drivers/usb/atm/Kconfig | 2 | ||||
-rw-r--r-- | drivers/usb/class/Kconfig | 6 | ||||
-rw-r--r-- | drivers/usb/core/Kconfig | 6 | ||||
-rw-r--r-- | drivers/usb/host/Kconfig | 30 | ||||
-rw-r--r-- | drivers/usb/image/Kconfig | 4 | ||||
-rw-r--r-- | drivers/usb/misc/Kconfig | 21 | ||||
-rw-r--r-- | drivers/usb/misc/sisusbvga/Kconfig | 2 | ||||
-rw-r--r-- | drivers/usb/mon/Kconfig | 1 | ||||
-rw-r--r-- | drivers/usb/musb/Kconfig | 2 | ||||
-rw-r--r-- | drivers/usb/renesas_usbhs/Kconfig | 2 | ||||
-rw-r--r-- | drivers/usb/serial/Kconfig | 2 | ||||
-rw-r--r-- | drivers/usb/storage/Kconfig | 7 | ||||
-rw-r--r-- | drivers/usb/wusbcore/Kconfig | 2 |
14 files changed, 36 insertions, 74 deletions
diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig index 2c481b808276..92e1dc94ecc8 100644 --- a/drivers/usb/Kconfig +++ b/drivers/usb/Kconfig | |||
@@ -122,9 +122,9 @@ config USB | |||
122 | To compile this driver as a module, choose M here: the | 122 | To compile this driver as a module, choose M here: the |
123 | module will be called usbcore. | 123 | module will be called usbcore. |
124 | 124 | ||
125 | source "drivers/usb/core/Kconfig" | 125 | if USB |
126 | 126 | ||
127 | source "drivers/usb/dwc3/Kconfig" | 127 | source "drivers/usb/core/Kconfig" |
128 | 128 | ||
129 | source "drivers/usb/mon/Kconfig" | 129 | source "drivers/usb/mon/Kconfig" |
130 | 130 | ||
@@ -134,8 +134,6 @@ source "drivers/usb/host/Kconfig" | |||
134 | 134 | ||
135 | source "drivers/usb/musb/Kconfig" | 135 | source "drivers/usb/musb/Kconfig" |
136 | 136 | ||
137 | source "drivers/usb/chipidea/Kconfig" | ||
138 | |||
139 | source "drivers/usb/renesas_usbhs/Kconfig" | 137 | source "drivers/usb/renesas_usbhs/Kconfig" |
140 | 138 | ||
141 | source "drivers/usb/class/Kconfig" | 139 | source "drivers/usb/class/Kconfig" |
@@ -144,12 +142,19 @@ source "drivers/usb/storage/Kconfig" | |||
144 | 142 | ||
145 | source "drivers/usb/image/Kconfig" | 143 | source "drivers/usb/image/Kconfig" |
146 | 144 | ||
145 | endif | ||
146 | |||
147 | source "drivers/usb/dwc3/Kconfig" | ||
148 | |||
149 | source "drivers/usb/chipidea/Kconfig" | ||
150 | |||
147 | comment "USB port drivers" | 151 | comment "USB port drivers" |
148 | depends on USB | 152 | |
153 | if USB | ||
149 | 154 | ||
150 | config USB_USS720 | 155 | config USB_USS720 |
151 | tristate "USS720 parport driver" | 156 | tristate "USS720 parport driver" |
152 | depends on USB && PARPORT | 157 | depends on PARPORT |
153 | select PARPORT_NOT_PC | 158 | select PARPORT_NOT_PC |
154 | ---help--- | 159 | ---help--- |
155 | This driver is for USB parallel port adapters that use the Lucent | 160 | This driver is for USB parallel port adapters that use the Lucent |
@@ -180,10 +185,12 @@ source "drivers/usb/serial/Kconfig" | |||
180 | 185 | ||
181 | source "drivers/usb/misc/Kconfig" | 186 | source "drivers/usb/misc/Kconfig" |
182 | 187 | ||
183 | source "drivers/usb/phy/Kconfig" | ||
184 | |||
185 | source "drivers/usb/atm/Kconfig" | 188 | source "drivers/usb/atm/Kconfig" |
186 | 189 | ||
190 | endif # USB | ||
191 | |||
192 | source "drivers/usb/phy/Kconfig" | ||
193 | |||
187 | source "drivers/usb/gadget/Kconfig" | 194 | source "drivers/usb/gadget/Kconfig" |
188 | 195 | ||
189 | endif # USB_SUPPORT | 196 | endif # USB_SUPPORT |
diff --git a/drivers/usb/atm/Kconfig b/drivers/usb/atm/Kconfig index be0b8daac9c7..0f922942a07a 100644 --- a/drivers/usb/atm/Kconfig +++ b/drivers/usb/atm/Kconfig | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | menuconfig USB_ATM | 5 | menuconfig USB_ATM |
6 | tristate "USB DSL modem support" | 6 | tristate "USB DSL modem support" |
7 | depends on USB && ATM | 7 | depends on ATM |
8 | select CRC32 | 8 | select CRC32 |
9 | default n | 9 | default n |
10 | help | 10 | help |
diff --git a/drivers/usb/class/Kconfig b/drivers/usb/class/Kconfig index 316aac8e4ca1..bb8b73682a70 100644 --- a/drivers/usb/class/Kconfig +++ b/drivers/usb/class/Kconfig | |||
@@ -2,11 +2,10 @@ | |||
2 | # USB Class driver configuration | 2 | # USB Class driver configuration |
3 | # | 3 | # |
4 | comment "USB Device Class drivers" | 4 | comment "USB Device Class drivers" |
5 | depends on USB | ||
6 | 5 | ||
7 | config USB_ACM | 6 | config USB_ACM |
8 | tristate "USB Modem (CDC ACM) support" | 7 | tristate "USB Modem (CDC ACM) support" |
9 | depends on USB && TTY | 8 | depends on TTY |
10 | ---help--- | 9 | ---help--- |
11 | This driver supports USB modems and ISDN adapters which support the | 10 | This driver supports USB modems and ISDN adapters which support the |
12 | Communication Device Class Abstract Control Model interface. | 11 | Communication Device Class Abstract Control Model interface. |
@@ -21,7 +20,6 @@ config USB_ACM | |||
21 | 20 | ||
22 | config USB_PRINTER | 21 | config USB_PRINTER |
23 | tristate "USB Printer support" | 22 | tristate "USB Printer support" |
24 | depends on USB | ||
25 | help | 23 | help |
26 | Say Y here if you want to connect a USB printer to your computer's | 24 | Say Y here if you want to connect a USB printer to your computer's |
27 | USB port. | 25 | USB port. |
@@ -31,7 +29,6 @@ config USB_PRINTER | |||
31 | 29 | ||
32 | config USB_WDM | 30 | config USB_WDM |
33 | tristate "USB Wireless Device Management support" | 31 | tristate "USB Wireless Device Management support" |
34 | depends on USB | ||
35 | ---help--- | 32 | ---help--- |
36 | This driver supports the WMC Device Management functionality | 33 | This driver supports the WMC Device Management functionality |
37 | of cell phones compliant to the CDC WMC specification. You can use | 34 | of cell phones compliant to the CDC WMC specification. You can use |
@@ -42,7 +39,6 @@ config USB_WDM | |||
42 | 39 | ||
43 | config USB_TMC | 40 | config USB_TMC |
44 | tristate "USB Test and Measurement Class support" | 41 | tristate "USB Test and Measurement Class support" |
45 | depends on USB | ||
46 | help | 42 | help |
47 | Say Y here if you want to connect a USB device that follows | 43 | Say Y here if you want to connect a USB device that follows |
48 | the USB.org specification for USB Test and Measurement devices | 44 | the USB.org specification for USB Test and Measurement devices |
diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig index 7b7305e3abc8..8772b3659296 100644 --- a/drivers/usb/core/Kconfig +++ b/drivers/usb/core/Kconfig | |||
@@ -3,7 +3,6 @@ | |||
3 | # | 3 | # |
4 | config USB_DEBUG | 4 | config USB_DEBUG |
5 | bool "USB verbose debug messages" | 5 | bool "USB verbose debug messages" |
6 | depends on USB | ||
7 | help | 6 | help |
8 | Say Y here if you want the USB core & hub drivers to produce a bunch | 7 | Say Y here if you want the USB core & hub drivers to produce a bunch |
9 | of debug messages to the system log. Select this if you are having a | 8 | of debug messages to the system log. Select this if you are having a |
@@ -11,7 +10,6 @@ config USB_DEBUG | |||
11 | 10 | ||
12 | config USB_ANNOUNCE_NEW_DEVICES | 11 | config USB_ANNOUNCE_NEW_DEVICES |
13 | bool "USB announce new devices" | 12 | bool "USB announce new devices" |
14 | depends on USB | ||
15 | default N | 13 | default N |
16 | help | 14 | help |
17 | Say Y here if you want the USB core to always announce the | 15 | Say Y here if you want the USB core to always announce the |
@@ -25,11 +23,9 @@ config USB_ANNOUNCE_NEW_DEVICES | |||
25 | log, or have any doubts about this, say N here. | 23 | log, or have any doubts about this, say N here. |
26 | 24 | ||
27 | comment "Miscellaneous USB options" | 25 | comment "Miscellaneous USB options" |
28 | depends on USB | ||
29 | 26 | ||
30 | config USB_DEFAULT_PERSIST | 27 | config USB_DEFAULT_PERSIST |
31 | bool "Enable USB persist by default" | 28 | bool "Enable USB persist by default" |
32 | depends on USB | ||
33 | default y | 29 | default y |
34 | help | 30 | help |
35 | Say N here if you don't want USB power session persistance | 31 | Say N here if you don't want USB power session persistance |
@@ -45,7 +41,6 @@ config USB_DEFAULT_PERSIST | |||
45 | 41 | ||
46 | config USB_DYNAMIC_MINORS | 42 | config USB_DYNAMIC_MINORS |
47 | bool "Dynamic USB minor allocation" | 43 | bool "Dynamic USB minor allocation" |
48 | depends on USB | ||
49 | help | 44 | help |
50 | If you say Y here, the USB subsystem will use dynamic minor | 45 | If you say Y here, the USB subsystem will use dynamic minor |
51 | allocation for any device that uses the USB major number. | 46 | allocation for any device that uses the USB major number. |
@@ -56,7 +51,6 @@ config USB_DYNAMIC_MINORS | |||
56 | 51 | ||
57 | config USB_OTG | 52 | config USB_OTG |
58 | bool "OTG support" | 53 | bool "OTG support" |
59 | depends on USB | ||
60 | depends on USB_SUSPEND | 54 | depends on USB_SUSPEND |
61 | default n | 55 | default n |
62 | help | 56 | help |
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index dbeac41595de..1714c6defd23 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig | |||
@@ -2,11 +2,9 @@ | |||
2 | # USB Host Controller Drivers | 2 | # USB Host Controller Drivers |
3 | # | 3 | # |
4 | comment "USB Host Controller Drivers" | 4 | comment "USB Host Controller Drivers" |
5 | depends on USB | ||
6 | 5 | ||
7 | config USB_C67X00_HCD | 6 | config USB_C67X00_HCD |
8 | tristate "Cypress C67x00 HCD support" | 7 | tristate "Cypress C67x00 HCD support" |
9 | depends on USB | ||
10 | help | 8 | help |
11 | The Cypress C67x00 (EZ-Host/EZ-OTG) chips are dual-role | 9 | The Cypress C67x00 (EZ-Host/EZ-OTG) chips are dual-role |
12 | host/peripheral/OTG USB controllers. | 10 | host/peripheral/OTG USB controllers. |
@@ -19,7 +17,7 @@ config USB_C67X00_HCD | |||
19 | 17 | ||
20 | config USB_XHCI_HCD | 18 | config USB_XHCI_HCD |
21 | tristate "xHCI HCD (USB 3.0) support" | 19 | tristate "xHCI HCD (USB 3.0) support" |
22 | depends on USB && USB_ARCH_HAS_XHCI | 20 | depends on USB_ARCH_HAS_XHCI |
23 | ---help--- | 21 | ---help--- |
24 | The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0 | 22 | The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0 |
25 | "SuperSpeed" host controller hardware. | 23 | "SuperSpeed" host controller hardware. |
@@ -43,7 +41,7 @@ config USB_XHCI_HCD_DEBUGGING | |||
43 | 41 | ||
44 | config USB_EHCI_HCD | 42 | config USB_EHCI_HCD |
45 | tristate "EHCI HCD (USB 2.0) support" | 43 | tristate "EHCI HCD (USB 2.0) support" |
46 | depends on USB && USB_ARCH_HAS_EHCI | 44 | depends on USB_ARCH_HAS_EHCI |
47 | ---help--- | 45 | ---help--- |
48 | The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0 | 46 | The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0 |
49 | "high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware. | 47 | "high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware. |
@@ -280,7 +278,7 @@ config USB_EHCI_ATH79 | |||
280 | 278 | ||
281 | config USB_OXU210HP_HCD | 279 | config USB_OXU210HP_HCD |
282 | tristate "OXU210HP HCD support" | 280 | tristate "OXU210HP HCD support" |
283 | depends on USB && GENERIC_HARDIRQS | 281 | depends on GENERIC_HARDIRQS |
284 | ---help--- | 282 | ---help--- |
285 | The OXU210HP is an USB host/OTG/device controller. Enable this | 283 | The OXU210HP is an USB host/OTG/device controller. Enable this |
286 | option if your board has this chip. If unsure, say N. | 284 | option if your board has this chip. If unsure, say N. |
@@ -293,7 +291,6 @@ config USB_OXU210HP_HCD | |||
293 | 291 | ||
294 | config USB_ISP116X_HCD | 292 | config USB_ISP116X_HCD |
295 | tristate "ISP116X HCD support" | 293 | tristate "ISP116X HCD support" |
296 | depends on USB | ||
297 | ---help--- | 294 | ---help--- |
298 | The ISP1160 and ISP1161 chips are USB host controllers. Enable this | 295 | The ISP1160 and ISP1161 chips are USB host controllers. Enable this |
299 | option if your board has this chip. If unsure, say N. | 296 | option if your board has this chip. If unsure, say N. |
@@ -305,7 +302,6 @@ config USB_ISP116X_HCD | |||
305 | 302 | ||
306 | config USB_ISP1760_HCD | 303 | config USB_ISP1760_HCD |
307 | tristate "ISP 1760 HCD support" | 304 | tristate "ISP 1760 HCD support" |
308 | depends on USB | ||
309 | ---help--- | 305 | ---help--- |
310 | The ISP1760 chip is a USB 2.0 host controller. | 306 | The ISP1760 chip is a USB 2.0 host controller. |
311 | 307 | ||
@@ -320,7 +316,6 @@ config USB_ISP1760_HCD | |||
320 | 316 | ||
321 | config USB_ISP1362_HCD | 317 | config USB_ISP1362_HCD |
322 | tristate "ISP1362 HCD support" | 318 | tristate "ISP1362 HCD support" |
323 | depends on USB | ||
324 | default N | 319 | default N |
325 | ---help--- | 320 | ---help--- |
326 | Supports the Philips ISP1362 chip as a host controller | 321 | Supports the Philips ISP1362 chip as a host controller |
@@ -332,7 +327,7 @@ config USB_ISP1362_HCD | |||
332 | 327 | ||
333 | config USB_OHCI_HCD | 328 | config USB_OHCI_HCD |
334 | tristate "OHCI HCD support" | 329 | tristate "OHCI HCD support" |
335 | depends on USB && USB_ARCH_HAS_OHCI | 330 | depends on USB_ARCH_HAS_OHCI |
336 | select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 | 331 | select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 |
337 | depends on USB_ISP1301 || !ARCH_LPC32XX | 332 | depends on USB_ISP1301 || !ARCH_LPC32XX |
338 | ---help--- | 333 | ---help--- |
@@ -490,7 +485,7 @@ config USB_OHCI_LITTLE_ENDIAN | |||
490 | 485 | ||
491 | config USB_UHCI_HCD | 486 | config USB_UHCI_HCD |
492 | tristate "UHCI HCD (most Intel and VIA) support" | 487 | tristate "UHCI HCD (most Intel and VIA) support" |
493 | depends on USB && (PCI || SPARC_LEON || ARCH_VT8500) | 488 | depends on PCI || SPARC_LEON || ARCH_VT8500 |
494 | ---help--- | 489 | ---help--- |
495 | The Universal Host Controller Interface is a standard by Intel for | 490 | The Universal Host Controller Interface is a standard by Intel for |
496 | accessing the USB hardware in the PC (which is also called the USB | 491 | accessing the USB hardware in the PC (which is also called the USB |
@@ -530,7 +525,7 @@ config USB_UHCI_BIG_ENDIAN_DESC | |||
530 | 525 | ||
531 | config USB_FHCI_HCD | 526 | config USB_FHCI_HCD |
532 | tristate "Freescale QE USB Host Controller support" | 527 | tristate "Freescale QE USB Host Controller support" |
533 | depends on USB && OF_GPIO && QE_GPIO && QUICC_ENGINE | 528 | depends on OF_GPIO && QE_GPIO && QUICC_ENGINE |
534 | select FSL_GTM | 529 | select FSL_GTM |
535 | select QE_USB | 530 | select QE_USB |
536 | help | 531 | help |
@@ -547,7 +542,7 @@ config FHCI_DEBUG | |||
547 | 542 | ||
548 | config USB_U132_HCD | 543 | config USB_U132_HCD |
549 | tristate "Elan U132 Adapter Host Controller" | 544 | tristate "Elan U132 Adapter Host Controller" |
550 | depends on USB && USB_FTDI_ELAN | 545 | depends on USB_FTDI_ELAN |
551 | default M | 546 | default M |
552 | help | 547 | help |
553 | The U132 adapter is a USB to CardBus adapter specifically designed | 548 | The U132 adapter is a USB to CardBus adapter specifically designed |
@@ -575,7 +570,6 @@ config USB_U132_HCD | |||
575 | 570 | ||
576 | config USB_SL811_HCD | 571 | config USB_SL811_HCD |
577 | tristate "SL811HS HCD support" | 572 | tristate "SL811HS HCD support" |
578 | depends on USB | ||
579 | help | 573 | help |
580 | The SL811HS is a single-port USB controller that supports either | 574 | The SL811HS is a single-port USB controller that supports either |
581 | host side or peripheral side roles. Enable this option if your | 575 | host side or peripheral side roles. Enable this option if your |
@@ -607,7 +601,6 @@ config USB_SL811_CS | |||
607 | 601 | ||
608 | config USB_R8A66597_HCD | 602 | config USB_R8A66597_HCD |
609 | tristate "R8A66597 HCD support" | 603 | tristate "R8A66597 HCD support" |
610 | depends on USB | ||
611 | help | 604 | help |
612 | The R8A66597 is a USB 2.0 host and peripheral controller. | 605 | The R8A66597 is a USB 2.0 host and peripheral controller. |
613 | 606 | ||
@@ -619,7 +612,6 @@ config USB_R8A66597_HCD | |||
619 | 612 | ||
620 | config USB_RENESAS_USBHS_HCD | 613 | config USB_RENESAS_USBHS_HCD |
621 | tristate "Renesas USBHS HCD support" | 614 | tristate "Renesas USBHS HCD support" |
622 | depends on USB | ||
623 | depends on USB_RENESAS_USBHS | 615 | depends on USB_RENESAS_USBHS |
624 | help | 616 | help |
625 | The Renesas USBHS is a USB 2.0 host and peripheral controller. | 617 | The Renesas USBHS is a USB 2.0 host and peripheral controller. |
@@ -644,7 +636,7 @@ config USB_WHCI_HCD | |||
644 | 636 | ||
645 | config USB_HWA_HCD | 637 | config USB_HWA_HCD |
646 | tristate "Host Wire Adapter (HWA) driver" | 638 | tristate "Host Wire Adapter (HWA) driver" |
647 | depends on USB && UWB | 639 | depends on UWB |
648 | select USB_WUSB | 640 | select USB_WUSB |
649 | select UWB_HWA | 641 | select UWB_HWA |
650 | help | 642 | help |
@@ -658,7 +650,7 @@ config USB_HWA_HCD | |||
658 | 650 | ||
659 | config USB_IMX21_HCD | 651 | config USB_IMX21_HCD |
660 | tristate "i.MX21 HCD support" | 652 | tristate "i.MX21 HCD support" |
661 | depends on USB && ARM && ARCH_MXC | 653 | depends on ARM && ARCH_MXC |
662 | help | 654 | help |
663 | This driver enables support for the on-chip USB host in the | 655 | This driver enables support for the on-chip USB host in the |
664 | i.MX21 processor. | 656 | i.MX21 processor. |
@@ -668,7 +660,7 @@ config USB_IMX21_HCD | |||
668 | 660 | ||
669 | config USB_OCTEON_EHCI | 661 | config USB_OCTEON_EHCI |
670 | bool "Octeon on-chip EHCI support" | 662 | bool "Octeon on-chip EHCI support" |
671 | depends on USB && USB_EHCI_HCD && CPU_CAVIUM_OCTEON | 663 | depends on USB_EHCI_HCD && CPU_CAVIUM_OCTEON |
672 | default n | 664 | default n |
673 | select USB_EHCI_BIG_ENDIAN_MMIO | 665 | select USB_EHCI_BIG_ENDIAN_MMIO |
674 | help | 666 | help |
@@ -679,7 +671,7 @@ config USB_OCTEON_EHCI | |||
679 | 671 | ||
680 | config USB_OCTEON_OHCI | 672 | config USB_OCTEON_OHCI |
681 | bool "Octeon on-chip OHCI support" | 673 | bool "Octeon on-chip OHCI support" |
682 | depends on USB && USB_OHCI_HCD && CPU_CAVIUM_OCTEON | 674 | depends on USB_OHCI_HCD && CPU_CAVIUM_OCTEON |
683 | default USB_OCTEON_EHCI | 675 | default USB_OCTEON_EHCI |
684 | select USB_OHCI_BIG_ENDIAN_MMIO | 676 | select USB_OHCI_BIG_ENDIAN_MMIO |
685 | select USB_OHCI_LITTLE_ENDIAN | 677 | select USB_OHCI_LITTLE_ENDIAN |
diff --git a/drivers/usb/image/Kconfig b/drivers/usb/image/Kconfig index 33350f9dd34f..320d368c8dac 100644 --- a/drivers/usb/image/Kconfig +++ b/drivers/usb/image/Kconfig | |||
@@ -2,11 +2,9 @@ | |||
2 | # USB Imaging devices configuration | 2 | # USB Imaging devices configuration |
3 | # | 3 | # |
4 | comment "USB Imaging devices" | 4 | comment "USB Imaging devices" |
5 | depends on USB | ||
6 | 5 | ||
7 | config USB_MDC800 | 6 | config USB_MDC800 |
8 | tristate "USB Mustek MDC800 Digital Camera support" | 7 | tristate "USB Mustek MDC800 Digital Camera support" |
9 | depends on USB | ||
10 | ---help--- | 8 | ---help--- |
11 | Say Y here if you want to connect this type of still camera to | 9 | Say Y here if you want to connect this type of still camera to |
12 | your computer's USB port. This driver can be used with gphoto 0.4.3 | 10 | your computer's USB port. This driver can be used with gphoto 0.4.3 |
@@ -19,7 +17,7 @@ config USB_MDC800 | |||
19 | 17 | ||
20 | config USB_MICROTEK | 18 | config USB_MICROTEK |
21 | tristate "Microtek X6USB scanner support" | 19 | tristate "Microtek X6USB scanner support" |
22 | depends on USB && SCSI | 20 | depends on SCSI |
23 | help | 21 | help |
24 | Say Y here if you want support for the Microtek X6USB and | 22 | Say Y here if you want support for the Microtek X6USB and |
25 | possibly the Phantom 336CX, Phantom C6 and ScanMaker V6U(S)L. | 23 | possibly the Phantom 336CX, Phantom C6 and ScanMaker V6U(S)L. |
diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig index 3b1a3f4ec5e9..a51e7d6afda9 100644 --- a/drivers/usb/misc/Kconfig +++ b/drivers/usb/misc/Kconfig | |||
@@ -2,11 +2,9 @@ | |||
2 | # USB Miscellaneous driver configuration | 2 | # USB Miscellaneous driver configuration |
3 | # | 3 | # |
4 | comment "USB Miscellaneous drivers" | 4 | comment "USB Miscellaneous drivers" |
5 | depends on USB | ||
6 | 5 | ||
7 | config USB_EMI62 | 6 | config USB_EMI62 |
8 | tristate "EMI 6|2m USB Audio interface support" | 7 | tristate "EMI 6|2m USB Audio interface support" |
9 | depends on USB | ||
10 | ---help--- | 8 | ---help--- |
11 | This driver loads firmware to Emagic EMI 6|2m low latency USB | 9 | This driver loads firmware to Emagic EMI 6|2m low latency USB |
12 | Audio and Midi interface. | 10 | Audio and Midi interface. |
@@ -21,7 +19,6 @@ config USB_EMI62 | |||
21 | 19 | ||
22 | config USB_EMI26 | 20 | config USB_EMI26 |
23 | tristate "EMI 2|6 USB Audio interface support" | 21 | tristate "EMI 2|6 USB Audio interface support" |
24 | depends on USB | ||
25 | ---help--- | 22 | ---help--- |
26 | This driver loads firmware to Emagic EMI 2|6 low latency USB | 23 | This driver loads firmware to Emagic EMI 2|6 low latency USB |
27 | Audio interface. | 24 | Audio interface. |
@@ -34,7 +31,6 @@ config USB_EMI26 | |||
34 | 31 | ||
35 | config USB_ADUTUX | 32 | config USB_ADUTUX |
36 | tristate "ADU devices from Ontrak Control Systems" | 33 | tristate "ADU devices from Ontrak Control Systems" |
37 | depends on USB | ||
38 | help | 34 | help |
39 | Say Y if you want to use an ADU device from Ontrak Control | 35 | Say Y if you want to use an ADU device from Ontrak Control |
40 | Systems. | 36 | Systems. |
@@ -44,7 +40,6 @@ config USB_ADUTUX | |||
44 | 40 | ||
45 | config USB_SEVSEG | 41 | config USB_SEVSEG |
46 | tristate "USB 7-Segment LED Display" | 42 | tristate "USB 7-Segment LED Display" |
47 | depends on USB | ||
48 | help | 43 | help |
49 | Say Y here if you have a USB 7-Segment Display by Delcom | 44 | Say Y here if you have a USB 7-Segment Display by Delcom |
50 | 45 | ||
@@ -53,7 +48,6 @@ config USB_SEVSEG | |||
53 | 48 | ||
54 | config USB_RIO500 | 49 | config USB_RIO500 |
55 | tristate "USB Diamond Rio500 support" | 50 | tristate "USB Diamond Rio500 support" |
56 | depends on USB | ||
57 | help | 51 | help |
58 | Say Y here if you want to connect a USB Rio500 mp3 player to your | 52 | Say Y here if you want to connect a USB Rio500 mp3 player to your |
59 | computer's USB port. Please read <file:Documentation/usb/rio.txt> | 53 | computer's USB port. Please read <file:Documentation/usb/rio.txt> |
@@ -64,7 +58,6 @@ config USB_RIO500 | |||
64 | 58 | ||
65 | config USB_LEGOTOWER | 59 | config USB_LEGOTOWER |
66 | tristate "USB Lego Infrared Tower support" | 60 | tristate "USB Lego Infrared Tower support" |
67 | depends on USB | ||
68 | help | 61 | help |
69 | Say Y here if you want to connect a USB Lego Infrared Tower to your | 62 | Say Y here if you want to connect a USB Lego Infrared Tower to your |
70 | computer's USB port. | 63 | computer's USB port. |
@@ -77,7 +70,6 @@ config USB_LEGOTOWER | |||
77 | 70 | ||
78 | config USB_LCD | 71 | config USB_LCD |
79 | tristate "USB LCD driver support" | 72 | tristate "USB LCD driver support" |
80 | depends on USB | ||
81 | help | 73 | help |
82 | Say Y here if you want to connect an USBLCD to your computer's | 74 | Say Y here if you want to connect an USBLCD to your computer's |
83 | USB port. The USBLCD is a small USB interface board for | 75 | USB port. The USBLCD is a small USB interface board for |
@@ -89,7 +81,6 @@ config USB_LCD | |||
89 | 81 | ||
90 | config USB_LED | 82 | config USB_LED |
91 | tristate "USB LED driver support" | 83 | tristate "USB LED driver support" |
92 | depends on USB | ||
93 | help | 84 | help |
94 | Say Y here if you want to connect an USBLED device to your | 85 | Say Y here if you want to connect an USBLED device to your |
95 | computer's USB port. | 86 | computer's USB port. |
@@ -99,7 +90,6 @@ config USB_LED | |||
99 | 90 | ||
100 | config USB_CYPRESS_CY7C63 | 91 | config USB_CYPRESS_CY7C63 |
101 | tristate "Cypress CY7C63xxx USB driver support" | 92 | tristate "Cypress CY7C63xxx USB driver support" |
102 | depends on USB | ||
103 | help | 93 | help |
104 | Say Y here if you want to connect a Cypress CY7C63xxx | 94 | Say Y here if you want to connect a Cypress CY7C63xxx |
105 | micro controller to your computer's USB port. Currently this | 95 | micro controller to your computer's USB port. Currently this |
@@ -113,7 +103,6 @@ config USB_CYPRESS_CY7C63 | |||
113 | 103 | ||
114 | config USB_CYTHERM | 104 | config USB_CYTHERM |
115 | tristate "Cypress USB thermometer driver support" | 105 | tristate "Cypress USB thermometer driver support" |
116 | depends on USB | ||
117 | help | 106 | help |
118 | Say Y here if you want to connect a Cypress USB thermometer | 107 | Say Y here if you want to connect a Cypress USB thermometer |
119 | device to your computer's USB port. This device is also known | 108 | device to your computer's USB port. This device is also known |
@@ -126,7 +115,6 @@ config USB_CYTHERM | |||
126 | 115 | ||
127 | config USB_IDMOUSE | 116 | config USB_IDMOUSE |
128 | tristate "Siemens ID USB Mouse Fingerprint sensor support" | 117 | tristate "Siemens ID USB Mouse Fingerprint sensor support" |
129 | depends on USB | ||
130 | help | 118 | help |
131 | Say Y here if you want to use the fingerprint sensor on | 119 | Say Y here if you want to use the fingerprint sensor on |
132 | the Siemens ID Mouse. There is also a Siemens ID Mouse | 120 | the Siemens ID Mouse. There is also a Siemens ID Mouse |
@@ -140,7 +128,6 @@ config USB_IDMOUSE | |||
140 | 128 | ||
141 | config USB_FTDI_ELAN | 129 | config USB_FTDI_ELAN |
142 | tristate "Elan PCMCIA CardBus Adapter USB Client" | 130 | tristate "Elan PCMCIA CardBus Adapter USB Client" |
143 | depends on USB | ||
144 | default M | 131 | default M |
145 | help | 132 | help |
146 | ELAN's Uxxx series of adapters are USB to PCMCIA CardBus adapters. | 133 | ELAN's Uxxx series of adapters are USB to PCMCIA CardBus adapters. |
@@ -164,7 +151,6 @@ config USB_FTDI_ELAN | |||
164 | 151 | ||
165 | config USB_APPLEDISPLAY | 152 | config USB_APPLEDISPLAY |
166 | tristate "Apple Cinema Display support" | 153 | tristate "Apple Cinema Display support" |
167 | depends on USB | ||
168 | select BACKLIGHT_LCD_SUPPORT | 154 | select BACKLIGHT_LCD_SUPPORT |
169 | select BACKLIGHT_CLASS_DEVICE | 155 | select BACKLIGHT_CLASS_DEVICE |
170 | help | 156 | help |
@@ -175,7 +161,6 @@ source "drivers/usb/misc/sisusbvga/Kconfig" | |||
175 | 161 | ||
176 | config USB_LD | 162 | config USB_LD |
177 | tristate "USB LD driver" | 163 | tristate "USB LD driver" |
178 | depends on USB | ||
179 | help | 164 | help |
180 | This driver is for generic USB devices that use interrupt transfers, | 165 | This driver is for generic USB devices that use interrupt transfers, |
181 | like LD Didactic's USB devices. | 166 | like LD Didactic's USB devices. |
@@ -185,7 +170,6 @@ config USB_LD | |||
185 | 170 | ||
186 | config USB_TRANCEVIBRATOR | 171 | config USB_TRANCEVIBRATOR |
187 | tristate "PlayStation 2 Trance Vibrator driver support" | 172 | tristate "PlayStation 2 Trance Vibrator driver support" |
188 | depends on USB | ||
189 | help | 173 | help |
190 | Say Y here if you want to connect a PlayStation 2 Trance Vibrator | 174 | Say Y here if you want to connect a PlayStation 2 Trance Vibrator |
191 | device to your computer's USB port. | 175 | device to your computer's USB port. |
@@ -195,7 +179,6 @@ config USB_TRANCEVIBRATOR | |||
195 | 179 | ||
196 | config USB_IOWARRIOR | 180 | config USB_IOWARRIOR |
197 | tristate "IO Warrior driver support" | 181 | tristate "IO Warrior driver support" |
198 | depends on USB | ||
199 | help | 182 | help |
200 | Say Y here if you want to support the IO Warrior devices from Code | 183 | Say Y here if you want to support the IO Warrior devices from Code |
201 | Mercenaries. This includes support for the following devices: | 184 | Mercenaries. This includes support for the following devices: |
@@ -209,7 +192,6 @@ config USB_IOWARRIOR | |||
209 | 192 | ||
210 | config USB_TEST | 193 | config USB_TEST |
211 | tristate "USB testing driver" | 194 | tristate "USB testing driver" |
212 | depends on USB | ||
213 | help | 195 | help |
214 | This driver is for testing host controller software. It is used | 196 | This driver is for testing host controller software. It is used |
215 | with specialized device firmware for regression and stress testing, | 197 | with specialized device firmware for regression and stress testing, |
@@ -220,7 +202,6 @@ config USB_TEST | |||
220 | 202 | ||
221 | config USB_ISIGHTFW | 203 | config USB_ISIGHTFW |
222 | tristate "iSight firmware loading support" | 204 | tristate "iSight firmware loading support" |
223 | depends on USB | ||
224 | select FW_LOADER | 205 | select FW_LOADER |
225 | help | 206 | help |
226 | This driver loads firmware for USB Apple iSight cameras, allowing | 207 | This driver loads firmware for USB Apple iSight cameras, allowing |
@@ -233,7 +214,6 @@ config USB_ISIGHTFW | |||
233 | 214 | ||
234 | config USB_YUREX | 215 | config USB_YUREX |
235 | tristate "USB YUREX driver support" | 216 | tristate "USB YUREX driver support" |
236 | depends on USB | ||
237 | help | 217 | help |
238 | Say Y here if you want to connect a YUREX to your computer's | 218 | Say Y here if you want to connect a YUREX to your computer's |
239 | USB port. The YUREX is a leg-shakes sensor. See | 219 | USB port. The YUREX is a leg-shakes sensor. See |
@@ -246,7 +226,6 @@ config USB_YUREX | |||
246 | 226 | ||
247 | config USB_EZUSB_FX2 | 227 | config USB_EZUSB_FX2 |
248 | tristate "Functions for loading firmware on EZUSB chips" | 228 | tristate "Functions for loading firmware on EZUSB chips" |
249 | depends on USB | ||
250 | help | 229 | help |
251 | Say Y here if you need EZUSB device support. | 230 | Say Y here if you need EZUSB device support. |
252 | (Cypress FX/FX2/FX2LP microcontrollers) | 231 | (Cypress FX/FX2/FX2LP microcontrollers) |
diff --git a/drivers/usb/misc/sisusbvga/Kconfig b/drivers/usb/misc/sisusbvga/Kconfig index 30ea7ca6846e..0d03a5200482 100644 --- a/drivers/usb/misc/sisusbvga/Kconfig +++ b/drivers/usb/misc/sisusbvga/Kconfig | |||
@@ -1,7 +1,7 @@ | |||
1 | 1 | ||
2 | config USB_SISUSBVGA | 2 | config USB_SISUSBVGA |
3 | tristate "USB 2.0 SVGA dongle support (Net2280/SiS315)" | 3 | tristate "USB 2.0 SVGA dongle support (Net2280/SiS315)" |
4 | depends on USB && (USB_MUSB_HDRC || USB_EHCI_HCD) | 4 | depends on (USB_MUSB_HDRC || USB_EHCI_HCD) |
5 | ---help--- | 5 | ---help--- |
6 | Say Y here if you intend to attach a USB2VGA dongle based on a | 6 | Say Y here if you intend to attach a USB2VGA dongle based on a |
7 | Net2280 and a SiS315 chip. | 7 | Net2280 and a SiS315 chip. |
diff --git a/drivers/usb/mon/Kconfig b/drivers/usb/mon/Kconfig index 635745f57fbd..5c6ffa2a612e 100644 --- a/drivers/usb/mon/Kconfig +++ b/drivers/usb/mon/Kconfig | |||
@@ -4,7 +4,6 @@ | |||
4 | 4 | ||
5 | config USB_MON | 5 | config USB_MON |
6 | tristate "USB Monitor" | 6 | tristate "USB Monitor" |
7 | depends on USB | ||
8 | help | 7 | help |
9 | If you select this option, a component which captures the USB traffic | 8 | If you select this option, a component which captures the USB traffic |
10 | between peripheral-specific drivers and HC drivers will be built. | 9 | between peripheral-specific drivers and HC drivers will be built. |
diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index 47442d35b6fc..06f8d29af1ef 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig | |||
@@ -6,7 +6,7 @@ | |||
6 | # (M)HDRC = (Multipoint) Highspeed Dual-Role Controller | 6 | # (M)HDRC = (Multipoint) Highspeed Dual-Role Controller |
7 | config USB_MUSB_HDRC | 7 | config USB_MUSB_HDRC |
8 | tristate 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)' | 8 | tristate 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)' |
9 | depends on USB && USB_GADGET | 9 | depends on USB_GADGET |
10 | help | 10 | help |
11 | Say Y here if your system has a dual role high speed USB | 11 | Say Y here if your system has a dual role high speed USB |
12 | controller based on the Mentor Graphics silicon IP. Then | 12 | controller based on the Mentor Graphics silicon IP. Then |
diff --git a/drivers/usb/renesas_usbhs/Kconfig b/drivers/usb/renesas_usbhs/Kconfig index 29feb00d7f39..019bf7e49ee6 100644 --- a/drivers/usb/renesas_usbhs/Kconfig +++ b/drivers/usb/renesas_usbhs/Kconfig | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | config USB_RENESAS_USBHS | 5 | config USB_RENESAS_USBHS |
6 | tristate 'Renesas USBHS controller' | 6 | tristate 'Renesas USBHS controller' |
7 | depends on USB && USB_GADGET && GENERIC_HARDIRQS | 7 | depends on USB_GADGET && GENERIC_HARDIRQS |
8 | default n | 8 | default n |
9 | help | 9 | help |
10 | Renesas USBHS is a discrete USB host and peripheral controller chip | 10 | Renesas USBHS is a discrete USB host and peripheral controller chip |
diff --git a/drivers/usb/serial/Kconfig b/drivers/usb/serial/Kconfig index 17b7f9ae36ad..bf3733629b09 100644 --- a/drivers/usb/serial/Kconfig +++ b/drivers/usb/serial/Kconfig | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | menuconfig USB_SERIAL | 5 | menuconfig USB_SERIAL |
6 | tristate "USB Serial Converter support" | 6 | tristate "USB Serial Converter support" |
7 | depends on USB && TTY | 7 | depends on TTY |
8 | ---help--- | 8 | ---help--- |
9 | Say Y here if you have a USB device that provides normal serial | 9 | Say Y here if you have a USB device that provides normal serial |
10 | ports, or acts like a serial device, and you want to connect it to | 10 | ports, or acts like a serial device, and you want to connect it to |
diff --git a/drivers/usb/storage/Kconfig b/drivers/usb/storage/Kconfig index eab04a6b5fbc..8470e1b114f2 100644 --- a/drivers/usb/storage/Kconfig +++ b/drivers/usb/storage/Kconfig | |||
@@ -4,11 +4,10 @@ | |||
4 | 4 | ||
5 | comment "NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may" | 5 | comment "NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may" |
6 | comment "also be needed; see USB_STORAGE Help for more info" | 6 | comment "also be needed; see USB_STORAGE Help for more info" |
7 | depends on USB | ||
8 | 7 | ||
9 | config USB_STORAGE | 8 | config USB_STORAGE |
10 | tristate "USB Mass Storage support" | 9 | tristate "USB Mass Storage support" |
11 | depends on USB && SCSI | 10 | depends on SCSI |
12 | ---help--- | 11 | ---help--- |
13 | Say Y here if you want to connect USB mass storage devices to your | 12 | Say Y here if you want to connect USB mass storage devices to your |
14 | computer's USB port. This is the driver you need for USB | 13 | computer's USB port. This is the driver you need for USB |
@@ -188,7 +187,7 @@ config USB_STORAGE_CYPRESS_ATACB | |||
188 | 187 | ||
189 | config USB_STORAGE_ENE_UB6250 | 188 | config USB_STORAGE_ENE_UB6250 |
190 | tristate "USB ENE card reader support" | 189 | tristate "USB ENE card reader support" |
191 | depends on USB && SCSI | 190 | depends on SCSI |
192 | depends on USB_STORAGE | 191 | depends on USB_STORAGE |
193 | ---help--- | 192 | ---help--- |
194 | Say Y here if you wish to control a ENE SD/MS Card reader. | 193 | Say Y here if you wish to control a ENE SD/MS Card reader. |
@@ -203,7 +202,7 @@ config USB_STORAGE_ENE_UB6250 | |||
203 | 202 | ||
204 | config USB_UAS | 203 | config USB_UAS |
205 | tristate "USB Attached SCSI" | 204 | tristate "USB Attached SCSI" |
206 | depends on USB && SCSI && BROKEN | 205 | depends on SCSI && BROKEN |
207 | help | 206 | help |
208 | The USB Attached SCSI protocol is supported by some USB | 207 | The USB Attached SCSI protocol is supported by some USB |
209 | storage devices. It permits higher performance by supporting | 208 | storage devices. It permits higher performance by supporting |
diff --git a/drivers/usb/wusbcore/Kconfig b/drivers/usb/wusbcore/Kconfig index 8bf19760d447..0e17b966e1b4 100644 --- a/drivers/usb/wusbcore/Kconfig +++ b/drivers/usb/wusbcore/Kconfig | |||
@@ -3,7 +3,6 @@ | |||
3 | # | 3 | # |
4 | config USB_WUSB | 4 | config USB_WUSB |
5 | tristate "Enable Wireless USB extensions" | 5 | tristate "Enable Wireless USB extensions" |
6 | depends on USB | ||
7 | depends on PCI | 6 | depends on PCI |
8 | depends on UWB | 7 | depends on UWB |
9 | select CRYPTO | 8 | select CRYPTO |
@@ -19,7 +18,6 @@ config USB_WUSB | |||
19 | 18 | ||
20 | config USB_WUSB_CBAF | 19 | config USB_WUSB_CBAF |
21 | tristate "Support WUSB Cable Based Association (CBA)" | 20 | tristate "Support WUSB Cable Based Association (CBA)" |
22 | depends on USB | ||
23 | help | 21 | help |
24 | Some WUSB devices support Cable Based Association. It's used to | 22 | Some WUSB devices support Cable Based Association. It's used to |
25 | enable the secure communication between the host and the | 23 | enable the secure communication between the host and the |