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