xref: /openbmc/linux/drivers/usb/usbip/Kconfig (revision b732539e)
1config USBIP_CORE
2	tristate "USB/IP support"
3	depends on NET
4	select USB_COMMON
5	---help---
6	  This enables pushing USB packets over IP to allow remote
7	  machines direct access to USB devices. It provides the
8	  USB/IP core that is required by both drivers.
9
10	  For more details, and to get the userspace utility
11	  programs, please see <http://usbip.sourceforge.net/>.
12
13	  To compile this as a module, choose M here: the module will
14	  be called usbip-core.
15
16	  If unsure, say N.
17
18config USBIP_VHCI_HCD
19	tristate "VHCI hcd"
20	depends on USBIP_CORE && USB
21	---help---
22	  This enables the USB/IP virtual host controller driver,
23	  which is run on the remote machine.
24
25	  To compile this driver as a module, choose M here: the
26	  module will be called vhci-hcd.
27
28config USBIP_VHCI_HC_PORTS
29	int "Number of ports per USB/IP virtual host controller"
30	range 1 15
31	default 8
32	depends on USBIP_VHCI_HCD
33	---help---
34	  To increase number of ports available for USB/IP virtual
35	  host controller driver, this defines number of ports per
36	  USB/IP virtual host controller.
37
38config USBIP_VHCI_NR_HCS
39	int "Number of USB/IP virtual host controllers"
40	range 1 128
41	default 1
42	depends on USBIP_VHCI_HCD
43	---help---
44	  To increase number of ports available for USB/IP virtual
45	  host controller driver, this defines number of USB/IP
46	  virtual host controllers as if adding physical host
47	  controllers.
48
49config USBIP_HOST
50	tristate "Host driver"
51	depends on USBIP_CORE && USB
52	---help---
53	  This enables the USB/IP host driver, which is run on the
54	  machine that is sharing the USB devices.
55
56	  To compile this driver as a module, choose M here: the
57	  module will be called usbip-host.
58
59config USBIP_VUDC
60	tristate "VUDC driver"
61	depends on USBIP_CORE && USB_GADGET
62	---help---
63	  This enables the USB/IP virtual USB device controller
64	  driver, which is run on the host machine, allowing the
65	  machine itself to act as a device.
66
67	  To compile this driver as a module, choose M here: the
68	  module will be called usbip-vudc.
69
70config USBIP_DEBUG
71	bool "Debug messages for USB/IP"
72	depends on USBIP_CORE
73	---help---
74	  This enables the debug messages from the USB/IP drivers.
75