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