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