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