85dacc92545ae18b1a4d13a689047d2c9589bb8c
[linux-2.6.git] / drivers / usb / Kconfig
1 #
2 # USB device configuration
3 #
4
5 menu "USB support"
6
7 # Host-side USB depends on having a host controller
8 # NOTE:  dummy_hcd is always an option, but it's ignored here ...
9 # NOTE:  SL-811 option should be board-specific ...
10 config USB_ARCH_HAS_HCD
11         boolean
12         default y if USB_ARCH_HAS_OHCI
13         default y if ARM                                # SL-811
14         default PCI
15
16 # many non-PCI SOC chips embed OHCI
17 config USB_ARCH_HAS_OHCI
18         boolean
19         # ARM:
20         default y if SA1111
21         default y if ARCH_OMAP
22         default y if ARCH_LH7A404
23         default y if ARCH_S3C2410
24         default y if PXA27x
25         # PPC:
26         default y if STB03xxx
27         default y if PPC_MPC52xx
28         # MIPS:
29         default y if SOC_AU1X00
30         # more:
31         default PCI
32
33 # ARM SA1111 chips have a non-PCI based "OHCI-compatible" USB host interface.
34 config USB
35         tristate "Support for Host-side USB"
36         depends on USB_ARCH_HAS_HCD
37         ---help---
38           Universal Serial Bus (USB) is a specification for a serial bus
39           subsystem which offers higher speeds and more features than the
40           traditional PC serial port.  The bus supplies power to peripherals
41           and allows for hot swapping.  Up to 127 USB peripherals can be
42           connected to a single USB host in a tree structure.
43           
44           The USB host is the root of the tree, the peripherals are the
45           leaves and the inner nodes are special USB devices called hubs.
46           Most PCs now have USB host ports, used to connect peripherals
47           such as scanners, keyboards, mice, modems, cameras, disks,
48           flash memory, network links, and printers to the PC.
49
50           Say Y here if your computer has a host-side USB port and you want
51           to use USB devices.  You then need to say Y to at least one of the
52           Host Controller Driver (HCD) options below.  Choose a USB 1.1
53           controller, such as "UHCI HCD support" or "OHCI HCD support",
54           and "EHCI HCD (USB 2.0) support" except for older systems that
55           do not have USB 2.0 support.  It doesn't normally hurt to select
56           them all if you are not certain.
57
58           If your system has a device-side USB port, used in the peripheral
59           side of the USB protocol, see the "USB Gadget" framework instead.
60
61           After choosing your HCD, then select drivers for the USB peripherals
62           you'll be using.  You may want to check out the information provided
63           in <file:Documentation/usb/> and especially the links given in
64           <file:Documentation/usb/usb-help.txt>.
65
66           To compile this driver as a module, choose M here: the
67           module will be called usbcore.
68
69 source "drivers/usb/core/Kconfig"
70
71 source "drivers/usb/host/Kconfig"
72
73 source "drivers/usb/class/Kconfig"
74
75 source "drivers/usb/storage/Kconfig"
76
77 source "drivers/usb/input/Kconfig"
78
79 source "drivers/usb/image/Kconfig"
80
81 source "drivers/usb/media/Kconfig"
82
83 source "drivers/usb/net/Kconfig"
84
85 source "drivers/usb/mon/Kconfig"
86
87 comment "USB port drivers"
88         depends on USB
89
90 config USB_USS720
91         tristate "USS720 parport driver"
92         depends on USB && PARPORT
93         select PARPORT_NOT_PC
94         ---help---
95           This driver is for USB parallel port adapters that use the Lucent
96           Technologies USS-720 chip. These cables are plugged into your USB
97           port and provide USB compatibility to peripherals designed with
98           parallel port interfaces.
99
100           The chip has two modes: automatic mode and manual mode. In automatic
101           mode, it looks to the computer like a standard USB printer. Only
102           printers may be connected to the USS-720 in this mode. The generic
103           USB printer driver ("USB Printer support", above) may be used in
104           that mode, and you can say N here if you want to use the chip only
105           in this mode.
106
107           Manual mode is not limited to printers, any parallel port
108           device should work. This driver utilizes manual mode.
109           Note however that some operations are three orders of magnitude
110           slower than on a PCI/ISA Parallel Port, so timing critical
111           applications might not work.
112
113           Say Y here if you own an USS-720 USB->Parport cable and intend to
114           connect anything other than a printer to it.
115
116           To compile this driver as a module, choose M here: the
117           module will be called uss720.
118
119 source "drivers/usb/serial/Kconfig"
120
121 source "drivers/usb/misc/Kconfig"
122
123 source "drivers/usb/atm/Kconfig"
124
125 source "drivers/usb/gadget/Kconfig"
126
127 endmenu
128