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