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