18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciconfig USBIP_CORE 48c2ecf20Sopenharmony_ci tristate "USB/IP support" 58c2ecf20Sopenharmony_ci depends on NET 68c2ecf20Sopenharmony_ci select USB_COMMON 78c2ecf20Sopenharmony_ci select SGL_ALLOC 88c2ecf20Sopenharmony_ci help 98c2ecf20Sopenharmony_ci This enables pushing USB packets over IP to allow remote 108c2ecf20Sopenharmony_ci machines direct access to USB devices. It provides the 118c2ecf20Sopenharmony_ci USB/IP core that is required by both drivers. 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci For more details, and to get the userspace utility 148c2ecf20Sopenharmony_ci programs, please see <http://usbip.sourceforge.net/>. 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci To compile this as a module, choose M here: the module will 178c2ecf20Sopenharmony_ci be called usbip-core. 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci If unsure, say N. 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ciconfig USBIP_VHCI_HCD 228c2ecf20Sopenharmony_ci tristate "VHCI hcd" 238c2ecf20Sopenharmony_ci depends on USBIP_CORE && USB 248c2ecf20Sopenharmony_ci help 258c2ecf20Sopenharmony_ci This enables the USB/IP virtual host controller driver, 268c2ecf20Sopenharmony_ci which is run on the remote machine. 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci To compile this driver as a module, choose M here: the 298c2ecf20Sopenharmony_ci module will be called vhci-hcd. 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ciconfig USBIP_VHCI_HC_PORTS 328c2ecf20Sopenharmony_ci int "Number of ports per USB/IP virtual host controller" 338c2ecf20Sopenharmony_ci range 1 15 348c2ecf20Sopenharmony_ci default 8 358c2ecf20Sopenharmony_ci depends on USBIP_VHCI_HCD 368c2ecf20Sopenharmony_ci help 378c2ecf20Sopenharmony_ci To increase number of ports available for USB/IP virtual 388c2ecf20Sopenharmony_ci host controller driver, this defines number of ports per 398c2ecf20Sopenharmony_ci USB/IP virtual host controller. 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ciconfig USBIP_VHCI_NR_HCS 428c2ecf20Sopenharmony_ci int "Number of USB/IP virtual host controllers" 438c2ecf20Sopenharmony_ci range 1 128 448c2ecf20Sopenharmony_ci default 1 458c2ecf20Sopenharmony_ci depends on USBIP_VHCI_HCD 468c2ecf20Sopenharmony_ci help 478c2ecf20Sopenharmony_ci To increase number of ports available for USB/IP virtual 488c2ecf20Sopenharmony_ci host controller driver, this defines number of USB/IP 498c2ecf20Sopenharmony_ci virtual host controllers as if adding physical host 508c2ecf20Sopenharmony_ci controllers. 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ciconfig USBIP_HOST 538c2ecf20Sopenharmony_ci tristate "Host driver" 548c2ecf20Sopenharmony_ci depends on USBIP_CORE && USB 558c2ecf20Sopenharmony_ci help 568c2ecf20Sopenharmony_ci This enables the USB/IP host driver, which is run on the 578c2ecf20Sopenharmony_ci machine that is sharing the USB devices. 588c2ecf20Sopenharmony_ci 598c2ecf20Sopenharmony_ci To compile this driver as a module, choose M here: the 608c2ecf20Sopenharmony_ci module will be called usbip-host. 618c2ecf20Sopenharmony_ci 628c2ecf20Sopenharmony_ciconfig USBIP_VUDC 638c2ecf20Sopenharmony_ci tristate "VUDC driver" 648c2ecf20Sopenharmony_ci depends on USBIP_CORE && USB_GADGET 658c2ecf20Sopenharmony_ci help 668c2ecf20Sopenharmony_ci This enables the USB/IP virtual USB device controller 678c2ecf20Sopenharmony_ci driver, which is run on the host machine, allowing the 688c2ecf20Sopenharmony_ci machine itself to act as a device. 698c2ecf20Sopenharmony_ci 708c2ecf20Sopenharmony_ci To compile this driver as a module, choose M here: the 718c2ecf20Sopenharmony_ci module will be called usbip-vudc. 728c2ecf20Sopenharmony_ci 738c2ecf20Sopenharmony_ciconfig USBIP_DEBUG 748c2ecf20Sopenharmony_ci bool "Debug messages for USB/IP" 758c2ecf20Sopenharmony_ci depends on USBIP_CORE 768c2ecf20Sopenharmony_ci help 778c2ecf20Sopenharmony_ci This enables the debug messages from the USB/IP drivers. 78