Blame view

drivers/usb/Kconfig 5.38 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
3
  #
  # USB device configuration
  #
04d06ad0f   Jan Engelhardt   USB: Use menuconf...
4
5
  menuconfig USB_SUPPORT
  	bool "USB support"
e25df1205   Martin Schwidefsky   [S390] Kconfig: m...
6
  	depends on HAS_IOMEM
773208946   Linus Torvalds   Revert "USB: fix ...
7
  	default y
06bfb7eb1   Jan Engelhardt   Add some help tex...
8
9
10
  	---help---
  	  This option adds core support for Universal Serial Bus (USB).
  	  You will also need drivers from the following menu to make use of it.
04d06ad0f   Jan Engelhardt   USB: Use menuconf...
11
12
  
  if USB_SUPPORT
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
13

e538dfdae   Michal Nazarewicz   usb: Provide usb_...
14
15
16
17
  config USB_COMMON
  	tristate
  	default y
  	depends on USB || USB_GADGET
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
18
19
20
21
22
23
  # Host-side USB depends on having a host controller
  # NOTE:  dummy_hcd is always an option, but it's ignored here ...
  # NOTE:  SL-811 option should be board-specific ...
  config USB_ARCH_HAS_HCD
  	boolean
  	default y if USB_ARCH_HAS_OHCI
76fa9a240   Jordan Crouse   [PATCH] USB: EHCI...
24
  	default y if USB_ARCH_HAS_EHCI
7b7200098   Felipe Balbi   usb/host: introdu...
25
  	default y if USB_ARCH_HAS_XHCI
0ab7a252a   Al Viro   no USB on M32R
26
  	default y if PCMCIA && !M32R			# sl811_cs
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
27
  	default y if ARM				# SL-811
ca0e9485a   Michael Hennerich   USB: host: SL811:...
28
  	default y if BLACKFIN				# SL-811
a3b53514b   Paul Mundt   usb: Enable hcd s...
29
  	default y if SUPERH				# r8a66597-hcd
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
30
31
32
33
34
35
36
37
  	default PCI
  
  # many non-PCI SOC chips embed OHCI
  config USB_ARCH_HAS_OHCI
  	boolean
  	# ARM:
  	default y if SA1111
  	default y if ARCH_OMAP
3eb0c5f4b   Ben Dooks   [PATCH] USB: add ...
38
  	default y if ARCH_S3C2410
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
39
  	default y if PXA27x
e77ec1898   eric miao   [ARM] USB: update...
40
  	default y if PXA3xx
a5b7474a0   Lennert Buytenhek   [PATCH] USB: ohci...
41
  	default y if ARCH_EP93XX
58a0cd788   Andrew Victor   [ARM] 3963/1: AT9...
42
  	default y if ARCH_AT91
78c73414f   Dmitry Eremin-Solenikov   USB: ohci: add su...
43
44
  	default y if ARCH_PNX4008 && I2C
  	default y if MFD_TC6393XB
586dfc8ca   Wan ZongShun   USB: Add nuvoton ...
45
  	default y if ARCH_W90X900
efe7daf22   Sergei Shtylyov   USB: OHCI: DA8xx/...
46
  	default y if ARCH_DAVINCI_DA8XX
760efe691   Mac Lin   USB: cns3xxx: Add...
47
  	default y if ARCH_CNS3XXX
c8c38de9d   Deepak Sikri   USB host: Adding ...
48
  	default y if PLAT_SPEAR
62194244c   Jingoo Han   USB: Add Samsung ...
49
  	default y if ARCH_EXYNOS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
50
51
52
53
  	# PPC:
  	default y if STB03xxx
  	default y if PPC_MPC52xx
  	# MIPS:
42a4f17dc   Manuel Lauss   MIPS: Alchemy: re...
54
  	default y if MIPS_ALCHEMY
2249071b3   Lars-Peter Clausen   USB: Add JZ4740 O...
55
  	default y if MACH_JZ4740
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
56
57
  	# more:
  	default PCI
76fa9a240   Jordan Crouse   [PATCH] USB: EHCI...
58
59
60
  # some non-PCI hcds implement EHCI
  config USB_ARCH_HAS_EHCI
  	boolean
3a6e7119a   Xu lei   USB: Fix USB Kcon...
61
  	default y if FSL_SOC
230f7ede6   Anatolij Gustschin   USB: add USB EHCI...
62
  	default y if PPC_MPC512x
91bc4d31e   Vladimir Barinov   USB: add ehci-ixp...
63
  	default y if ARCH_IXP4XX
586dfc8ca   Wan ZongShun   USB: Add nuvoton ...
64
  	default y if ARCH_W90X900
501c9c080   Nicolas Ferre   USB: at91: Add US...
65
  	default y if ARCH_AT91SAM9G45
7e8d5cd93   Daniel Mack   USB: Add EHCI sup...
66
  	default y if ARCH_MXC
a8eb7ca0c   Tony Lindgren   omap3: Replace AR...
67
  	default y if ARCH_OMAP3
760efe691   Mac Lin   USB: cns3xxx: Add...
68
  	default y if ARCH_CNS3XXX
ad78acafe   Alexey Charkov   usb: Add support ...
69
  	default y if ARCH_VT8500
c8c38de9d   Deepak Sikri   USB host: Adding ...
70
  	default y if PLAT_SPEAR
1bcc5aa87   Joonyoung Shim   USB: Add initial ...
71
  	default y if PLAT_S5P
b0848aea1   Pavankumar Kondeti   USB: EHCI: Add MS...
72
  	default y if ARCH_MSM
0291303d3   Michal Simek   usb: Fix Kconfig ...
73
  	default y if MICROBLAZE
9be039298   Jan Andersson   USB: EHCI: Add bu...
74
  	default y if SPARC_LEON
3abd7f68b   Tanmay Upadhyay   USB: pxa168: Add ...
75
  	default y if ARCH_MMP
76fa9a240   Jordan Crouse   [PATCH] USB: EHCI...
76
  	default PCI
7b7200098   Felipe Balbi   usb/host: introdu...
77
78
79
80
  # some non-PCI HCDs implement xHCI
  config USB_ARCH_HAS_XHCI
  	boolean
  	default PCI
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
81
82
83
84
  # ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
  config USB
  	tristate "Support for Host-side USB"
  	depends on USB_ARCH_HAS_HCD
a853a3d4e   Clemens Ladisch   usb: return devic...
85
  	select NLS  # for UTF-8 strings
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
  	---help---
  	  Universal Serial Bus (USB) is a specification for a serial bus
  	  subsystem which offers higher speeds and more features than the
  	  traditional PC serial port.  The bus supplies power to peripherals
  	  and allows for hot swapping.  Up to 127 USB peripherals can be
  	  connected to a single USB host in a tree structure.
  	  
  	  The USB host is the root of the tree, the peripherals are the
  	  leaves and the inner nodes are special USB devices called hubs.
  	  Most PCs now have USB host ports, used to connect peripherals
  	  such as scanners, keyboards, mice, modems, cameras, disks,
  	  flash memory, network links, and printers to the PC.
  
  	  Say Y here if your computer has a host-side USB port and you want
  	  to use USB devices.  You then need to say Y to at least one of the
  	  Host Controller Driver (HCD) options below.  Choose a USB 1.1
  	  controller, such as "UHCI HCD support" or "OHCI HCD support",
  	  and "EHCI HCD (USB 2.0) support" except for older systems that
  	  do not have USB 2.0 support.  It doesn't normally hurt to select
  	  them all if you are not certain.
  
  	  If your system has a device-side USB port, used in the peripheral
  	  side of the USB protocol, see the "USB Gadget" framework instead.
  
  	  After choosing your HCD, then select drivers for the USB peripherals
  	  you'll be using.  You may want to check out the information provided
  	  in <file:Documentation/usb/> and especially the links given in
  	  <file:Documentation/usb/usb-help.txt>.
  
  	  To compile this driver as a module, choose M here: the
  	  module will be called usbcore.
  
  source "drivers/usb/core/Kconfig"
72246da40   Felipe Balbi   usb: Introduce De...
119
  source "drivers/usb/dwc3/Kconfig"
3bea302d6   Simon Arlott   USB: Move usb/mon...
120
  source "drivers/usb/mon/Kconfig"
470cc4150   Greg Kroah-Hartman   wusb: add the Wir...
121
  source "drivers/usb/wusbcore/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
122
  source "drivers/usb/host/Kconfig"
550a7375f   Felipe Balbi   USB: Add MUSB and...
123
  source "drivers/usb/musb/Kconfig"
f1407d5c6   Kuninori Morimoto   usb: renesas_usbh...
124
  source "drivers/usb/renesas_usbhs/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
125
126
127
  source "drivers/usb/class/Kconfig"
  
  source "drivers/usb/storage/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
128
  source "drivers/usb/image/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
  comment "USB port drivers"
  	depends on USB
  
  config USB_USS720
  	tristate "USS720 parport driver"
  	depends on USB && PARPORT
  	select PARPORT_NOT_PC
  	---help---
  	  This driver is for USB parallel port adapters that use the Lucent
  	  Technologies USS-720 chip. These cables are plugged into your USB
  	  port and provide USB compatibility to peripherals designed with
  	  parallel port interfaces.
  
  	  The chip has two modes: automatic mode and manual mode. In automatic
  	  mode, it looks to the computer like a standard USB printer. Only
  	  printers may be connected to the USS-720 in this mode. The generic
  	  USB printer driver ("USB Printer support", above) may be used in
  	  that mode, and you can say N here if you want to use the chip only
  	  in this mode.
  
  	  Manual mode is not limited to printers, any parallel port
  	  device should work. This driver utilizes manual mode.
  	  Note however that some operations are three orders of magnitude
  	  slower than on a PCI/ISA Parallel Port, so timing critical
  	  applications might not work.
  
  	  Say Y here if you own an USS-720 USB->Parport cable and intend to
  	  connect anything other than a printer to it.
  
  	  To compile this driver as a module, choose M here: the
  	  module will be called uss720.
  
  source "drivers/usb/serial/Kconfig"
  
  source "drivers/usb/misc/Kconfig"
  
  source "drivers/usb/atm/Kconfig"
  
  source "drivers/usb/gadget/Kconfig"
b8da8677d   David Brownell   USB: move isp1301...
168
  source "drivers/usb/otg/Kconfig"
04d06ad0f   Jan Engelhardt   USB: Use menuconf...
169
  endif # USB_SUPPORT