usb: xhci: Fix panic if disconnect
[pandora-kernel.git] / drivers / usb / host / Kconfig
1 #
2 # USB Host Controller Drivers
3 #
4 comment "USB Host Controller Drivers"
5         depends on USB
6
7 config USB_C67X00_HCD
8         tristate "Cypress C67x00 HCD support"
9         depends on USB
10         help
11           The Cypress C67x00 (EZ-Host/EZ-OTG) chips are dual-role
12           host/peripheral/OTG USB controllers.
13
14           Enable this option to support this chip in host controller mode.
15           If unsure, say N.
16
17           To compile this driver as a module, choose M here: the
18           module will be called c67x00.
19
20 config USB_XHCI_HCD
21         tristate "xHCI HCD (USB 3.0) support (EXPERIMENTAL)"
22         depends on USB && USB_ARCH_HAS_XHCI && EXPERIMENTAL
23         ---help---
24           The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0
25           "SuperSpeed" host controller hardware.
26
27           To compile this driver as a module, choose M here: the
28           module will be called xhci-hcd.
29
30 config USB_XHCI_HCD_DEBUGGING
31         bool "Debugging for the xHCI host controller"
32         depends on USB_XHCI_HCD
33         ---help---
34           Say 'Y' to turn on debugging for the xHCI host controller driver.
35           This will spew debugging output, even in interrupt context.
36           This should only be used for debugging xHCI driver bugs.
37
38           If unsure, say N.
39
40 config USB_EHCI_HCD
41         tristate "EHCI HCD (USB 2.0) support"
42         depends on USB && USB_ARCH_HAS_EHCI
43         ---help---
44           The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0
45           "high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware.
46           If your USB host controller supports USB 2.0, you will likely want to
47           configure this Host Controller Driver.
48
49           EHCI controllers are packaged with "companion" host controllers (OHCI
50           or UHCI) to handle USB 1.1 devices connected to root hub ports.  Ports
51           will connect to EHCI if the device is high speed, otherwise they
52           connect to a companion controller.  If you configure EHCI, you should
53           probably configure the OHCI (for NEC and some other vendors) USB Host
54           Controller Driver or UHCI (for Via motherboards) Host Controller
55           Driver too.
56
57           You may want to read <file:Documentation/usb/ehci.txt>.
58
59           To compile this driver as a module, choose M here: the
60           module will be called ehci-hcd.
61
62 config USB_EHCI_ROOT_HUB_TT
63         bool "Root Hub Transaction Translators"
64         depends on USB_EHCI_HCD
65         ---help---
66           Some EHCI chips have vendor-specific extensions to integrate
67           transaction translators, so that no OHCI or UHCI companion
68           controller is needed.  It's safe to say "y" even if your
69           controller doesn't support this feature.
70
71           This supports the EHCI implementation that's originally
72           from ARC, and has since changed hands a few times.
73
74 config USB_EHCI_TT_NEWSCHED
75         bool "Improved Transaction Translator scheduling"
76         depends on USB_EHCI_HCD
77         default y
78         ---help---
79           This changes the periodic scheduling code to fill more of the low
80           and full speed bandwidth available from the Transaction Translator
81           (TT) in USB 2.0 hubs.  Without this, only one transfer will be
82           issued in each microframe, significantly reducing the number of
83           periodic low/fullspeed transfers possible.
84
85           If you have multiple periodic low/fullspeed devices connected to a
86           highspeed USB hub which is connected to a highspeed USB Host
87           Controller, and some of those devices will not work correctly
88           (possibly due to "ENOSPC" or "-28" errors), say Y.  Conversely, if
89           you have only one such device and it doesn't work, you could try
90           saying N.
91
92           If unsure, say Y.
93
94 config USB_EHCI_HCD_PMC_MSP
95         tristate "EHCI support for on-chip PMC MSP71xx USB controller"
96         depends on USB_EHCI_HCD && MSP_HAS_USB
97         default n
98         select USB_EHCI_BIG_ENDIAN_DESC
99         select USB_EHCI_BIG_ENDIAN_MMIO
100         ---help---
101                 Enables support for the onchip USB controller on the PMC_MSP7100 Family SoC's.
102                 If unsure, say N.
103
104 config USB_EHCI_BIG_ENDIAN_MMIO
105         bool
106         depends on USB_EHCI_HCD && (PPC_CELLEB || PPC_PS3 || 440EPX || \
107                                     ARCH_IXP4XX || XPS_USB_HCD_XILINX || \
108                                     PPC_MPC512x || CPU_CAVIUM_OCTEON || \
109                                     PMC_MSP || SPARC_LEON)
110         default y
111
112 config USB_EHCI_BIG_ENDIAN_DESC
113         bool
114         depends on USB_EHCI_HCD && (440EPX || ARCH_IXP4XX || XPS_USB_HCD_XILINX || \
115                                     PPC_MPC512x || PMC_MSP || SPARC_LEON)
116         default y
117
118 config XPS_USB_HCD_XILINX
119         bool "Use Xilinx usb host EHCI controller core"
120         depends on USB_EHCI_HCD && (PPC32 || MICROBLAZE)
121         select USB_EHCI_BIG_ENDIAN_DESC
122         select USB_EHCI_BIG_ENDIAN_MMIO
123         ---help---
124                 Xilinx xps USB host controller core is EHCI compilant and has
125                 transaction translator built-in. It can be configured to either
126                 support both high speed and full speed devices, or high speed
127                 devices only.
128
129 config USB_FSL_MPH_DR_OF
130         tristate
131
132 config USB_EHCI_FSL
133         bool "Support for Freescale on-chip EHCI USB controller"
134         depends on USB_EHCI_HCD && FSL_SOC
135         select USB_EHCI_ROOT_HUB_TT
136         select USB_FSL_MPH_DR_OF if OF
137         ---help---
138           Variation of ARC USB block used in some Freescale chips.
139
140 config USB_EHCI_MXC
141         bool "Support for Freescale on-chip EHCI USB controller"
142         depends on USB_EHCI_HCD && ARCH_MXC
143         select USB_EHCI_ROOT_HUB_TT
144         ---help---
145           Variation of ARC USB block used in some Freescale chips.
146
147 config USB_EHCI_HCD_OMAP
148         bool "EHCI support for OMAP3 and later chips"
149         depends on USB_EHCI_HCD && ARCH_OMAP
150         default y
151         --- help ---
152           Enables support for the on-chip EHCI controller on
153           OMAP3 and later chips.
154
155 config USB_EHCI_MSM
156         bool "Support for MSM on-chip EHCI USB controller"
157         depends on USB_EHCI_HCD && ARCH_MSM
158         select USB_EHCI_ROOT_HUB_TT
159         select USB_MSM_OTG
160         ---help---
161           Enables support for the USB Host controller present on the
162           Qualcomm chipsets. Root Hub has inbuilt TT.
163           This driver depends on OTG driver for PHY initialization,
164           clock management, powering up VBUS, and power management.
165           This driver is not supported on boards like trout which
166           has an external PHY.
167
168 config USB_EHCI_TEGRA
169        boolean "NVIDIA Tegra HCD support"
170        depends on USB_EHCI_HCD && ARCH_TEGRA
171        select USB_EHCI_ROOT_HUB_TT
172        help
173          This driver enables support for the internal USB Host Controllers
174          found in NVIDIA Tegra SoCs. The controllers are EHCI compliant.
175
176 config USB_EHCI_HCD_PPC_OF
177         bool "EHCI support for PPC USB controller on OF platform bus"
178         depends on USB_EHCI_HCD && PPC_OF
179         default y
180         ---help---
181           Enables support for the USB controller present on the PowerPC
182           OpenFirmware platform bus.
183
184 config USB_EHCI_SH
185         bool "EHCI support for SuperH USB controller"
186         depends on USB_EHCI_HCD && SUPERH
187         ---help---
188           Enables support for the on-chip EHCI controller on the SuperH.
189           If you use the PCI EHCI controller, this option is not necessary.
190
191 config USB_EHCI_S5P
192        boolean "S5P EHCI support"
193        depends on USB_EHCI_HCD && PLAT_S5P
194        help
195          Enable support for the S5P SOC's on-chip EHCI controller.
196
197 config USB_W90X900_EHCI
198         bool "W90X900(W90P910) EHCI support"
199         depends on USB_EHCI_HCD && ARCH_W90X900
200         ---help---
201                 Enables support for the W90X900 USB controller
202
203 config USB_CNS3XXX_EHCI
204         bool "Cavium CNS3XXX EHCI Module"
205         depends on USB_EHCI_HCD && ARCH_CNS3XXX
206         ---help---
207           Enable support for the CNS3XXX SOC's on-chip EHCI controller.
208           It is needed for high-speed (480Mbit/sec) USB 2.0 device
209           support.
210
211 config USB_EHCI_ATH79
212         bool "EHCI support for AR7XXX/AR9XXX SoCs"
213         depends on USB_EHCI_HCD && (SOC_AR71XX || SOC_AR724X || SOC_AR913X)
214         select USB_EHCI_ROOT_HUB_TT
215         default y
216         ---help---
217           Enables support for the built-in EHCI controller present
218           on the Atheros AR7XXX/AR9XXX SoCs.
219
220 config USB_OXU210HP_HCD
221         tristate "OXU210HP HCD support"
222         depends on USB
223         ---help---
224           The OXU210HP is an USB host/OTG/device controller. Enable this
225           option if your board has this chip. If unsure, say N.
226
227           This driver does not support isochronous transfers and doesn't
228           implement OTG nor USB device controllers.
229
230           To compile this driver as a module, choose M here: the
231           module will be called oxu210hp-hcd.
232
233 config USB_ISP116X_HCD
234         tristate "ISP116X HCD support"
235         depends on USB
236         ---help---
237           The ISP1160 and ISP1161 chips are USB host controllers. Enable this
238           option if your board has this chip. If unsure, say N.
239
240           This driver does not support isochronous transfers.
241
242           To compile this driver as a module, choose M here: the
243           module will be called isp116x-hcd.
244
245 config USB_ISP1760_HCD
246         tristate "ISP 1760 HCD support"
247         depends on USB && EXPERIMENTAL
248         ---help---
249           The ISP1760 chip is a USB 2.0 host controller.
250
251           This driver does not support isochronous transfers or OTG.
252           This USB controller is usually attached to a non-DMA-Master
253           capable bus. NXP's eval kit brings this chip on PCI card
254           where the chip itself is behind a PLB to simulate such
255           a bus.
256
257           To compile this driver as a module, choose M here: the
258           module will be called isp1760.
259
260 config USB_ISP1362_HCD
261         tristate "ISP1362 HCD support"
262         depends on USB
263         default N
264         ---help---
265           Supports the Philips ISP1362 chip as a host controller
266
267           This driver does not support isochronous transfers.
268
269           To compile this driver as a module, choose M here: the
270           module will be called isp1362-hcd.
271
272 config USB_OHCI_HCD
273         tristate "OHCI HCD support"
274         depends on USB && USB_ARCH_HAS_OHCI
275         select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3
276         select USB_OTG_UTILS if ARCH_OMAP
277         ---help---
278           The Open Host Controller Interface (OHCI) is a standard for accessing
279           USB 1.1 host controller hardware.  It does more in hardware than Intel's
280           UHCI specification.  If your USB host controller follows the OHCI spec,
281           say Y.  On most non-x86 systems, and on x86 hardware that's not using a
282           USB controller from Intel or VIA, this is appropriate.  If your host
283           controller doesn't use PCI, this is probably appropriate.  For a PCI
284           based system where you're not sure, the "lspci -v" entry will list the
285           right "prog-if" for your USB controller(s):  EHCI, OHCI, or UHCI.
286
287           To compile this driver as a module, choose M here: the
288           module will be called ohci-hcd.
289
290 config USB_OHCI_HCD_OMAP1
291         bool "OHCI support for OMAP1/2 chips"
292         depends on USB_OHCI_HCD && (ARCH_OMAP1 || ARCH_OMAP2)
293         default y
294         ---help---
295           Enables support for the OHCI controller on OMAP1/2 chips.
296
297 config USB_OHCI_HCD_OMAP3
298         bool "OHCI support for OMAP3 and later chips"
299         depends on USB_OHCI_HCD && (ARCH_OMAP3 || ARCH_OMAP4)
300         default y
301         ---help---
302           Enables support for the on-chip OHCI controller on
303           OMAP3 and later chips.
304
305 config USB_OHCI_ATH79
306         bool "USB OHCI support for the Atheros AR71XX/AR7240 SoCs"
307         depends on USB_OHCI_HCD && (SOC_AR71XX || SOC_AR724X)
308         default y
309         help
310           Enables support for the built-in OHCI controller present on the
311           Atheros AR71XX/AR7240 SoCs.
312
313 config USB_OHCI_HCD_PPC_SOC
314         bool "OHCI support for on-chip PPC USB controller"
315         depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx)
316         default y
317         select USB_OHCI_BIG_ENDIAN_DESC
318         select USB_OHCI_BIG_ENDIAN_MMIO
319         ---help---
320           Enables support for the USB controller on the MPC52xx or
321           STB03xxx processor chip.  If unsure, say Y.
322
323 config USB_OHCI_HCD_PPC_OF_BE
324         bool "OHCI support for OF platform bus (big endian)"
325         depends on USB_OHCI_HCD && PPC_OF
326         select USB_OHCI_BIG_ENDIAN_DESC
327         select USB_OHCI_BIG_ENDIAN_MMIO
328         ---help---
329           Enables support for big-endian USB controllers present on the
330           OpenFirmware platform bus.
331
332 config USB_OHCI_HCD_PPC_OF_LE
333         bool "OHCI support for OF platform bus (little endian)"
334         depends on USB_OHCI_HCD && PPC_OF
335         select USB_OHCI_LITTLE_ENDIAN
336         ---help---
337           Enables support for little-endian USB controllers present on the
338           OpenFirmware platform bus.
339
340 config USB_OHCI_HCD_PPC_OF
341         bool
342         depends on USB_OHCI_HCD && PPC_OF
343         default USB_OHCI_HCD_PPC_OF_BE || USB_OHCI_HCD_PPC_OF_LE
344
345 config USB_OHCI_HCD_PCI
346         bool "OHCI support for PCI-bus USB controllers"
347         depends on USB_OHCI_HCD && PCI && (STB03xxx || PPC_MPC52xx || USB_OHCI_HCD_PPC_OF)
348         default y
349         select USB_OHCI_LITTLE_ENDIAN
350         ---help---
351           Enables support for PCI-bus plug-in USB controller cards.
352           If unsure, say Y.
353
354 config USB_OHCI_HCD_SSB
355         bool "OHCI support for Broadcom SSB OHCI core"
356         depends on USB_OHCI_HCD && (SSB = y || SSB = USB_OHCI_HCD) && EXPERIMENTAL
357         default n
358         ---help---
359           Support for the Sonics Silicon Backplane (SSB) attached
360           Broadcom USB OHCI core.
361
362           This device is present in some embedded devices with
363           Broadcom based SSB bus.
364
365           If unsure, say N.
366
367 config USB_OHCI_SH
368         bool "OHCI support for SuperH USB controller"
369         depends on USB_OHCI_HCD && SUPERH
370         ---help---
371           Enables support for the on-chip OHCI controller on the SuperH.
372           If you use the PCI OHCI controller, this option is not necessary.
373
374 config USB_CNS3XXX_OHCI
375         bool "Cavium CNS3XXX OHCI Module"
376         depends on USB_OHCI_HCD && ARCH_CNS3XXX
377         ---help---
378           Enable support for the CNS3XXX SOC's on-chip OHCI controller.
379           It is needed for low-speed USB 1.0 device support.
380
381 config USB_OHCI_BIG_ENDIAN_DESC
382         bool
383         depends on USB_OHCI_HCD
384         default n
385
386 config USB_OHCI_BIG_ENDIAN_MMIO
387         bool
388         depends on USB_OHCI_HCD
389         default n
390
391 config USB_OHCI_LITTLE_ENDIAN
392         bool
393         depends on USB_OHCI_HCD
394         default n if STB03xxx || PPC_MPC52xx
395         default y
396
397 config USB_UHCI_HCD
398         tristate "UHCI HCD (most Intel and VIA) support"
399         depends on USB && (PCI || SPARC_LEON)
400         ---help---
401           The Universal Host Controller Interface is a standard by Intel for
402           accessing the USB hardware in the PC (which is also called the USB
403           host controller). If your USB host controller conforms to this
404           standard, you may want to say Y, but see below. All recent boards
405           with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
406           i810, i820) conform to this standard. Also all VIA PCI chipsets
407           (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
408           133) and LEON/GRLIB SoCs with the GRUSBHC controller.
409           If unsure, say Y.
410
411           To compile this driver as a module, choose M here: the
412           module will be called uhci-hcd.
413
414 config USB_UHCI_SUPPORT_NON_PCI_HC
415         bool
416         depends on USB_UHCI_HCD
417         default y if SPARC_LEON
418
419 config USB_UHCI_BIG_ENDIAN_MMIO
420         bool
421         depends on USB_UHCI_SUPPORT_NON_PCI_HC && SPARC_LEON
422         default y
423
424 config USB_UHCI_BIG_ENDIAN_DESC
425         bool
426         depends on USB_UHCI_SUPPORT_NON_PCI_HC && SPARC_LEON
427         default y
428
429 config USB_FHCI_HCD
430         tristate "Freescale QE USB Host Controller support"
431         depends on USB && OF_GPIO && QE_GPIO && QUICC_ENGINE
432         select FSL_GTM
433         select QE_USB
434         help
435           This driver enables support for Freescale QE USB Host Controller
436           (as found on MPC8360 and MPC8323 processors), the driver supports
437           Full and Low Speed USB.
438
439 config FHCI_DEBUG
440         bool "Freescale QE USB Host Controller debug support"
441         depends on USB_FHCI_HCD && DEBUG_FS
442         help
443           Say "y" to see some FHCI debug information and statistics
444           through debugfs.
445
446 config USB_U132_HCD
447         tristate "Elan U132 Adapter Host Controller"
448         depends on USB && USB_FTDI_ELAN
449         default M
450         help
451           The U132 adapter is a USB to CardBus adapter specifically designed
452           for PC cards that contain an OHCI host controller. Typical PC cards
453           are the Orange Mobile 3G Option GlobeTrotter Fusion card. The U132
454           adapter will *NOT* work with PC cards that do not contain an OHCI
455           controller.
456
457           For those PC cards that contain multiple OHCI controllers only the
458           first one is used.
459
460           The driver consists of two modules, the "ftdi-elan" module is a
461           USB client driver that interfaces to the FTDI chip within ELAN's
462           USB-to-PCMCIA adapter, and this "u132-hcd" module is a USB host
463           controller driver that talks to the OHCI controller within the
464           CardBus cards that are inserted in the U132 adapter.
465
466           This driver has been tested with a CardBus OHCI USB adapter, and
467           worked with a USB PEN Drive inserted into the first USB port of
468           the PCCARD. A rather pointless thing to do, but useful for testing.
469
470           It is safe to say M here.
471
472           See also <http://www.elandigitalsystems.com/support/ufaq/u132linux.php>
473
474 config USB_SL811_HCD
475         tristate "SL811HS HCD support"
476         depends on USB
477         help
478           The SL811HS is a single-port USB controller that supports either
479           host side or peripheral side roles.  Enable this option if your
480           board has this chip, and you want to use it as a host controller. 
481           If unsure, say N.
482
483           To compile this driver as a module, choose M here: the
484           module will be called sl811-hcd.
485
486 config USB_SL811_HCD_ISO
487         bool "partial ISO support"
488         depends on USB_SL811_HCD
489         help
490           The driver doesn't support iso_frame_desc (yet), but for some simple
491           devices that just queue one ISO frame per URB, then ISO transfers
492           "should" work using the normal urb status fields.
493
494           If unsure, say N.
495
496 config USB_SL811_CS
497         tristate "CF/PCMCIA support for SL811HS HCD"
498         depends on USB_SL811_HCD && PCMCIA
499         help
500           Wraps a PCMCIA driver around the SL811HS HCD, supporting the RATOC
501           REX-CFU1U CF card (often used with PDAs).  If unsure, say N.
502
503           To compile this driver as a module, choose M here: the
504           module will be called "sl811_cs".
505
506 config USB_R8A66597_HCD
507         tristate "R8A66597 HCD support"
508         depends on USB
509         help
510           The R8A66597 is a USB 2.0 host and peripheral controller.
511
512           Enable this option if your board has this chip, and you want
513           to use it as a host controller.  If unsure, say N.
514
515           To compile this driver as a module, choose M here: the
516           module will be called r8a66597-hcd.
517
518 config USB_RENESAS_USBHS_HCD
519         tristate "Renesas USBHS HCD support"
520         depends on USB
521         depends on USB_RENESAS_USBHS
522         help
523           The Renesas USBHS is a USB 2.0 host and peripheral controller.
524
525           Enable this option if your board has this chip, and you want
526           to use it as a host controller.  If unsure, say N.
527
528           To compile this driver as a module, choose M here: the
529           module will be called renesas-usbhs.
530
531 config USB_WHCI_HCD
532         tristate "Wireless USB Host Controller Interface (WHCI) driver (EXPERIMENTAL)"
533         depends on EXPERIMENTAL
534         depends on PCI && USB
535         select USB_WUSB
536         select UWB_WHCI
537         help
538           A driver for PCI-based Wireless USB Host Controllers that are
539           compliant with the WHCI specification.
540
541           To compile this driver a module, choose M here: the module
542           will be called "whci-hcd".
543
544 config USB_HWA_HCD
545         tristate "Host Wire Adapter (HWA) driver (EXPERIMENTAL)"
546         depends on EXPERIMENTAL
547         depends on USB
548         select USB_WUSB
549         select UWB_HWA
550         help
551           This driver enables you to connect Wireless USB devices to
552           your system using a Host Wire Adaptor USB dongle. This is an
553           UWB Radio Controller and WUSB Host Controller connected to
554           your machine via USB (specified in WUSB1.0).
555
556           To compile this driver a module, choose M here: the module
557           will be called "hwa-hc".
558
559 config USB_IMX21_HCD
560        tristate "i.MX21 HCD support"
561        depends on USB && ARM && ARCH_MXC
562        help
563          This driver enables support for the on-chip USB host in the
564          i.MX21 processor.
565
566          To compile this driver as a module, choose M here: the
567          module will be called "imx21-hcd".
568
569 config USB_OCTEON_EHCI
570         bool "Octeon on-chip EHCI support"
571         depends on USB && USB_EHCI_HCD && CPU_CAVIUM_OCTEON
572         default n
573         select USB_EHCI_BIG_ENDIAN_MMIO
574         help
575           Enable support for the Octeon II SOC's on-chip EHCI
576           controller.  It is needed for high-speed (480Mbit/sec)
577           USB 2.0 device support.  All CN6XXX based chips with USB are
578           supported.
579
580 config USB_OCTEON_OHCI
581         bool "Octeon on-chip OHCI support"
582         depends on USB && USB_OHCI_HCD && CPU_CAVIUM_OCTEON
583         default USB_OCTEON_EHCI
584         select USB_OHCI_BIG_ENDIAN_MMIO
585         select USB_OHCI_LITTLE_ENDIAN
586         help
587           Enable support for the Octeon II SOC's on-chip OHCI
588           controller.  It is needed for low-speed USB 1.0 device
589           support.  All CN6XXX based chips with USB are supported.
590
591 config USB_OCTEON2_COMMON
592         bool
593         default y if USB_OCTEON_EHCI || USB_OCTEON_OHCI
594
595 config USB_PXA168_EHCI
596         bool "Marvell PXA168 on-chip EHCI HCD support"
597         depends on USB_EHCI_HCD && ARCH_MMP
598         help
599           Enable support for Marvell PXA168 SoC's on-chip EHCI
600           host controller