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