blob: b9f94e2e278d89d21814eae80057bf65a57fa090 [file] [log] [blame]
Greg Kroah-Hartmancae8dc32019-01-17 09:23:50 +01001# SPDX-License-Identifier: GPL-2.0
2
matt mooney64e62422011-05-11 22:33:44 -07003config USBIP_CORE
Greg Kroah-Hartmanba753e42012-09-17 23:02:36 -07004 tristate "USB/IP support"
Peter Chencb9c1cf2016-09-14 09:49:30 +08005 depends on NET
6 select USB_COMMON
Oliver Neukum1ec13ab2019-11-12 16:49:39 +01007 select SGL_ALLOC
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +09008 help
Takahiro Hirofuchi05a1f282008-07-09 14:56:51 -06009 This enables pushing USB packets over IP to allow remote
matt mooney64e62422011-05-11 22:33:44 -070010 machines direct access to USB devices. It provides the
11 USB/IP core that is required by both drivers.
Takahiro Hirofuchi05a1f282008-07-09 14:56:51 -060012
matt mooney64e62422011-05-11 22:33:44 -070013 For more details, and to get the userspace utility
Masanari Iidadbc320f2013-01-07 23:28:10 +090014 programs, please see <http://usbip.sourceforge.net/>.
matt mooney64e62422011-05-11 22:33:44 -070015
16 To compile this as a module, choose M here: the module will
17 be called usbip-core.
Takahiro Hirofuchi05a1f282008-07-09 14:56:51 -060018
19 If unsure, say N.
Takahiro Hirofuchi04679b32008-07-09 14:56:51 -060020
matt mooney64e62422011-05-11 22:33:44 -070021config USBIP_VHCI_HCD
22 tristate "VHCI hcd"
Arnd Bergmannb5a2a8e2016-04-28 14:42:50 +020023 depends on USBIP_CORE && USB
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090024 help
matt mooney64e62422011-05-11 22:33:44 -070025 This enables the USB/IP virtual host controller driver,
26 which is run on the remote machine.
Takahiro Hirofuchi04679b32008-07-09 14:56:51 -060027
matt mooney64e62422011-05-11 22:33:44 -070028 To compile this driver as a module, choose M here: the
29 module will be called vhci-hcd.
Takahiro Hirofuchi4d7b5c72008-07-09 14:56:51 -060030
Nobuo Iwata0775a9c2016-06-13 11:33:40 +090031config USBIP_VHCI_HC_PORTS
32 int "Number of ports per USB/IP virtual host controller"
Ben Hutchings351a8d42018-01-29 00:04:18 +000033 range 1 15
Nobuo Iwata0775a9c2016-06-13 11:33:40 +090034 default 8
35 depends on USBIP_VHCI_HCD
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090036 help
Nobuo Iwata0775a9c2016-06-13 11:33:40 +090037 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
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090046 help
Nobuo Iwata0775a9c2016-06-13 11:33:40 +090047 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
matt mooney64e62422011-05-11 22:33:44 -070052config USBIP_HOST
53 tristate "Host driver"
Arnd Bergmannb5a2a8e2016-04-28 14:42:50 +020054 depends on USBIP_CORE && USB
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090055 help
matt mooney64e62422011-05-11 22:33:44 -070056 This enables the USB/IP host driver, which is run on the
57 machine that is sharing the USB devices.
Takahiro Hirofuchi4d7b5c72008-07-09 14:56:51 -060058
matt mooney64e62422011-05-11 22:33:44 -070059 To compile this driver as a module, choose M here: the
60 module will be called usbip-host.
Himanshu411a8612010-01-23 17:52:02 +053061
Igor Kotrasinski93605752016-03-08 21:49:07 +010062config USBIP_VUDC
63 tristate "VUDC driver"
Arnd Bergmannb5a2a8e2016-04-28 14:42:50 +020064 depends on USBIP_CORE && USB_GADGET
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090065 help
Igor Kotrasinski93605752016-03-08 21:49:07 +010066 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
matt mooney64e62422011-05-11 22:33:44 -070073config USBIP_DEBUG
74 bool "Debug messages for USB/IP"
75 depends on USBIP_CORE
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090076 help
matt mooney64e62422011-05-11 22:33:44 -070077 This enables the debug messages from the USB/IP drivers.