2019-01-17 16:23:50 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
2011-05-12 13:33:44 +08:00
|
|
|
config USBIP_CORE
|
2012-09-18 14:02:36 +08:00
|
|
|
tristate "USB/IP support"
|
2016-09-14 09:49:30 +08:00
|
|
|
depends on NET
|
|
|
|
select USB_COMMON
|
2008-07-10 04:56:51 +08:00
|
|
|
---help---
|
|
|
|
This enables pushing USB packets over IP to allow remote
|
2011-05-12 13:33:44 +08:00
|
|
|
machines direct access to USB devices. It provides the
|
|
|
|
USB/IP core that is required by both drivers.
|
2008-07-10 04:56:51 +08:00
|
|
|
|
2011-05-12 13:33:44 +08:00
|
|
|
For more details, and to get the userspace utility
|
2013-01-07 22:28:10 +08:00
|
|
|
programs, please see <http://usbip.sourceforge.net/>.
|
2011-05-12 13:33:44 +08:00
|
|
|
|
|
|
|
To compile this as a module, choose M here: the module will
|
|
|
|
be called usbip-core.
|
2008-07-10 04:56:51 +08:00
|
|
|
|
|
|
|
If unsure, say N.
|
2008-07-10 04:56:51 +08:00
|
|
|
|
2011-05-12 13:33:44 +08:00
|
|
|
config USBIP_VHCI_HCD
|
|
|
|
tristate "VHCI hcd"
|
2016-04-28 20:42:50 +08:00
|
|
|
depends on USBIP_CORE && USB
|
2008-07-10 04:56:51 +08:00
|
|
|
---help---
|
2011-05-12 13:33:44 +08:00
|
|
|
This enables the USB/IP virtual host controller driver,
|
|
|
|
which is run on the remote machine.
|
2008-07-10 04:56:51 +08:00
|
|
|
|
2011-05-12 13:33:44 +08:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called vhci-hcd.
|
2008-07-10 04:56:51 +08:00
|
|
|
|
2016-06-13 10:33:40 +08:00
|
|
|
config USBIP_VHCI_HC_PORTS
|
|
|
|
int "Number of ports per USB/IP virtual host controller"
|
2018-01-29 08:04:18 +08:00
|
|
|
range 1 15
|
2016-06-13 10:33:40 +08:00
|
|
|
default 8
|
|
|
|
depends on USBIP_VHCI_HCD
|
|
|
|
---help---
|
|
|
|
To increase number of ports available for USB/IP virtual
|
|
|
|
host controller driver, this defines number of ports per
|
|
|
|
USB/IP virtual host controller.
|
|
|
|
|
|
|
|
config USBIP_VHCI_NR_HCS
|
|
|
|
int "Number of USB/IP virtual host controllers"
|
|
|
|
range 1 128
|
|
|
|
default 1
|
|
|
|
depends on USBIP_VHCI_HCD
|
|
|
|
---help---
|
|
|
|
To increase number of ports available for USB/IP virtual
|
|
|
|
host controller driver, this defines number of USB/IP
|
|
|
|
virtual host controllers as if adding physical host
|
|
|
|
controllers.
|
|
|
|
|
2011-05-12 13:33:44 +08:00
|
|
|
config USBIP_HOST
|
|
|
|
tristate "Host driver"
|
2016-04-28 20:42:50 +08:00
|
|
|
depends on USBIP_CORE && USB
|
2008-07-10 04:56:51 +08:00
|
|
|
---help---
|
2011-05-12 13:33:44 +08:00
|
|
|
This enables the USB/IP host driver, which is run on the
|
|
|
|
machine that is sharing the USB devices.
|
2008-07-10 04:56:51 +08:00
|
|
|
|
2011-05-12 13:33:44 +08:00
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called usbip-host.
|
2010-01-23 20:22:02 +08:00
|
|
|
|
2016-03-09 04:49:07 +08:00
|
|
|
config USBIP_VUDC
|
|
|
|
tristate "VUDC driver"
|
2016-04-28 20:42:50 +08:00
|
|
|
depends on USBIP_CORE && USB_GADGET
|
2016-03-09 04:49:07 +08:00
|
|
|
---help---
|
|
|
|
This enables the USB/IP virtual USB device controller
|
|
|
|
driver, which is run on the host machine, allowing the
|
|
|
|
machine itself to act as a device.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called usbip-vudc.
|
|
|
|
|
2011-05-12 13:33:44 +08:00
|
|
|
config USBIP_DEBUG
|
|
|
|
bool "Debug messages for USB/IP"
|
|
|
|
depends on USBIP_CORE
|
2010-01-23 20:22:02 +08:00
|
|
|
---help---
|
2011-05-12 13:33:44 +08:00
|
|
|
This enables the debug messages from the USB/IP drivers.
|