1*cae8dc3bSGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2*cae8dc3bSGreg Kroah-Hartman 396c27377SValentina Maneaconfig USBIP_CORE 496c27377SValentina Manea tristate "USB/IP support" 5cb9c1cfcSPeter Chen depends on NET 6cb9c1cfcSPeter Chen select USB_COMMON 796c27377SValentina Manea ---help--- 896c27377SValentina Manea This enables pushing USB packets over IP to allow remote 996c27377SValentina Manea machines direct access to USB devices. It provides the 1096c27377SValentina Manea USB/IP core that is required by both drivers. 1196c27377SValentina Manea 1296c27377SValentina Manea For more details, and to get the userspace utility 1396c27377SValentina Manea programs, please see <http://usbip.sourceforge.net/>. 1496c27377SValentina Manea 1596c27377SValentina Manea To compile this as a module, choose M here: the module will 1696c27377SValentina Manea be called usbip-core. 1796c27377SValentina Manea 1896c27377SValentina Manea If unsure, say N. 1996c27377SValentina Manea 2096c27377SValentina Maneaconfig USBIP_VHCI_HCD 2196c27377SValentina Manea tristate "VHCI hcd" 22b5a2a8ecSArnd Bergmann depends on USBIP_CORE && USB 2396c27377SValentina Manea ---help--- 2496c27377SValentina Manea This enables the USB/IP virtual host controller driver, 2596c27377SValentina Manea which is run on the remote machine. 2696c27377SValentina Manea 2796c27377SValentina Manea To compile this driver as a module, choose M here: the 2896c27377SValentina Manea module will be called vhci-hcd. 2996c27377SValentina Manea 300775a9cbSNobuo Iwataconfig USBIP_VHCI_HC_PORTS 310775a9cbSNobuo Iwata int "Number of ports per USB/IP virtual host controller" 32351a8d48SBen Hutchings range 1 15 330775a9cbSNobuo Iwata default 8 340775a9cbSNobuo Iwata depends on USBIP_VHCI_HCD 350775a9cbSNobuo Iwata ---help--- 360775a9cbSNobuo Iwata To increase number of ports available for USB/IP virtual 370775a9cbSNobuo Iwata host controller driver, this defines number of ports per 380775a9cbSNobuo Iwata USB/IP virtual host controller. 390775a9cbSNobuo Iwata 400775a9cbSNobuo Iwataconfig USBIP_VHCI_NR_HCS 410775a9cbSNobuo Iwata int "Number of USB/IP virtual host controllers" 420775a9cbSNobuo Iwata range 1 128 430775a9cbSNobuo Iwata default 1 440775a9cbSNobuo Iwata depends on USBIP_VHCI_HCD 450775a9cbSNobuo Iwata ---help--- 460775a9cbSNobuo Iwata To increase number of ports available for USB/IP virtual 470775a9cbSNobuo Iwata host controller driver, this defines number of USB/IP 480775a9cbSNobuo Iwata virtual host controllers as if adding physical host 490775a9cbSNobuo Iwata controllers. 500775a9cbSNobuo Iwata 5196c27377SValentina Maneaconfig USBIP_HOST 5296c27377SValentina Manea tristate "Host driver" 53b5a2a8ecSArnd Bergmann depends on USBIP_CORE && USB 5496c27377SValentina Manea ---help--- 5596c27377SValentina Manea This enables the USB/IP host driver, which is run on the 5696c27377SValentina Manea machine that is sharing the USB devices. 5796c27377SValentina Manea 5896c27377SValentina Manea To compile this driver as a module, choose M here: the 5996c27377SValentina Manea module will be called usbip-host. 6096c27377SValentina Manea 619360575cSIgor Kotrasinskiconfig USBIP_VUDC 629360575cSIgor Kotrasinski tristate "VUDC driver" 63b5a2a8ecSArnd Bergmann depends on USBIP_CORE && USB_GADGET 649360575cSIgor Kotrasinski ---help--- 659360575cSIgor Kotrasinski This enables the USB/IP virtual USB device controller 669360575cSIgor Kotrasinski driver, which is run on the host machine, allowing the 679360575cSIgor Kotrasinski machine itself to act as a device. 689360575cSIgor Kotrasinski 699360575cSIgor Kotrasinski To compile this driver as a module, choose M here: the 709360575cSIgor Kotrasinski module will be called usbip-vudc. 719360575cSIgor Kotrasinski 7296c27377SValentina Maneaconfig USBIP_DEBUG 7396c27377SValentina Manea bool "Debug messages for USB/IP" 7496c27377SValentina Manea depends on USBIP_CORE 7596c27377SValentina Manea ---help--- 7696c27377SValentina Manea This enables the debug messages from the USB/IP drivers. 77