1cae8dc3bSGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2cae8dc3bSGreg Kroah-Hartman 364e62426Smatt mooneyconfig USBIP_CORE 4ba753e41SGreg Kroah-Hartman tristate "USB/IP support" 5cb9c1cfcSPeter Chen depends on NET 6cb9c1cfcSPeter Chen select USB_COMMON 71ec13abaSOliver Neukum select SGL_ALLOC 8*a7f7f624SMasahiro Yamada help 905a1f28eSTakahiro Hirofuchi This enables pushing USB packets over IP to allow remote 1064e62426Smatt mooney machines direct access to USB devices. It provides the 1164e62426Smatt mooney USB/IP core that is required by both drivers. 1205a1f28eSTakahiro Hirofuchi 1364e62426Smatt mooney For more details, and to get the userspace utility 14dbc320f7SMasanari Iida programs, please see <http://usbip.sourceforge.net/>. 1564e62426Smatt mooney 1664e62426Smatt mooney To compile this as a module, choose M here: the module will 1764e62426Smatt mooney be called usbip-core. 1805a1f28eSTakahiro Hirofuchi 1905a1f28eSTakahiro Hirofuchi If unsure, say N. 2004679b34STakahiro Hirofuchi 2164e62426Smatt mooneyconfig USBIP_VHCI_HCD 2264e62426Smatt mooney tristate "VHCI hcd" 23b5a2a8ecSArnd Bergmann depends on USBIP_CORE && USB 24*a7f7f624SMasahiro Yamada help 2564e62426Smatt mooney This enables the USB/IP virtual host controller driver, 2664e62426Smatt mooney which is run on the remote machine. 2704679b34STakahiro Hirofuchi 2804679b34STakahiro Hirofuchi To compile this driver as a module, choose M here: the 2964e62426Smatt mooney module will be called vhci-hcd. 304d7b5c7fSTakahiro Hirofuchi 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 5264e62426Smatt mooneyconfig USBIP_HOST 5364e62426Smatt mooney tristate "Host driver" 54b5a2a8ecSArnd Bergmann depends on USBIP_CORE && USB 55*a7f7f624SMasahiro Yamada help 5664e62426Smatt mooney This enables the USB/IP host driver, which is run on the 5764e62426Smatt mooney machine that is sharing the USB devices. 584d7b5c7fSTakahiro Hirofuchi 594d7b5c7fSTakahiro Hirofuchi To compile this driver as a module, choose M here: the 6064e62426Smatt mooney module will be called usbip-host. 61411a861fSHimanshu 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 7364e62426Smatt mooneyconfig USBIP_DEBUG 7464e62426Smatt mooney bool "Debug messages for USB/IP" 7564e62426Smatt mooney depends on USBIP_CORE 76*a7f7f624SMasahiro Yamada help 7764e62426Smatt mooney This enables the debug messages from the USB/IP drivers. 78