0001 # SPDX-License-Identifier: GPL-2.0
0002
0003 config USBIP_CORE
0004 tristate "USB/IP support"
0005 depends on NET
0006 select USB_COMMON
0007 select SGL_ALLOC
0008 help
0009 This enables pushing USB packets over IP to allow remote
0010 machines direct access to USB devices. It provides the
0011 USB/IP core that is required by both drivers.
0012
0013 For more details, and to get the userspace utility
0014 programs, please see <http://usbip.sourceforge.net/>.
0015
0016 To compile this as a module, choose M here: the module will
0017 be called usbip-core.
0018
0019 If unsure, say N.
0020
0021 config USBIP_VHCI_HCD
0022 tristate "VHCI hcd"
0023 depends on USBIP_CORE && USB
0024 help
0025 This enables the USB/IP virtual host controller driver,
0026 which is run on the remote machine.
0027
0028 To compile this driver as a module, choose M here: the
0029 module will be called vhci-hcd.
0030
0031 config USBIP_VHCI_HC_PORTS
0032 int "Number of ports per USB/IP virtual host controller"
0033 range 1 15
0034 default 8
0035 depends on USBIP_VHCI_HCD
0036 help
0037 To increase number of ports available for USB/IP virtual
0038 host controller driver, this defines number of ports per
0039 USB/IP virtual host controller.
0040
0041 config USBIP_VHCI_NR_HCS
0042 int "Number of USB/IP virtual host controllers"
0043 range 1 128
0044 default 1
0045 depends on USBIP_VHCI_HCD
0046 help
0047 To increase number of ports available for USB/IP virtual
0048 host controller driver, this defines number of USB/IP
0049 virtual host controllers as if adding physical host
0050 controllers.
0051
0052 config USBIP_HOST
0053 tristate "Host driver"
0054 depends on USBIP_CORE && USB
0055 help
0056 This enables the USB/IP host driver, which is run on the
0057 machine that is sharing the USB devices.
0058
0059 To compile this driver as a module, choose M here: the
0060 module will be called usbip-host.
0061
0062 config USBIP_VUDC
0063 tristate "VUDC driver"
0064 depends on USBIP_CORE && USB_GADGET
0065 help
0066 This enables the USB/IP virtual USB device controller
0067 driver, which is run on the host machine, allowing the
0068 machine itself to act as a device.
0069
0070 To compile this driver as a module, choose M here: the
0071 module will be called usbip-vudc.
0072
0073 config USBIP_DEBUG
0074 bool "Debug messages for USB/IP"
0075 depends on USBIP_CORE
0076 help
0077 This enables the debug messages from the USB/IP drivers.