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