Greg Kroah-Hartman | cae8dc3 | 2019-01-17 09:23:50 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | |
matt mooney | 64e6242 | 2011-05-11 22:33:44 -0700 | [diff] [blame] | 3 | config USBIP_CORE |
Greg Kroah-Hartman | ba753e4 | 2012-09-17 23:02:36 -0700 | [diff] [blame] | 4 | tristate "USB/IP support" |
Peter Chen | cb9c1cf | 2016-09-14 09:49:30 +0800 | [diff] [blame] | 5 | depends on NET |
| 6 | select USB_COMMON |
Oliver Neukum | 1ec13ab | 2019-11-12 16:49:39 +0100 | [diff] [blame] | 7 | select SGL_ALLOC |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 8 | help |
Takahiro Hirofuchi | 05a1f28 | 2008-07-09 14:56:51 -0600 | [diff] [blame] | 9 | This enables pushing USB packets over IP to allow remote |
matt mooney | 64e6242 | 2011-05-11 22:33:44 -0700 | [diff] [blame] | 10 | machines direct access to USB devices. It provides the |
| 11 | USB/IP core that is required by both drivers. |
Takahiro Hirofuchi | 05a1f28 | 2008-07-09 14:56:51 -0600 | [diff] [blame] | 12 | |
matt mooney | 64e6242 | 2011-05-11 22:33:44 -0700 | [diff] [blame] | 13 | For more details, and to get the userspace utility |
Masanari Iida | dbc320f | 2013-01-07 23:28:10 +0900 | [diff] [blame] | 14 | programs, please see <http://usbip.sourceforge.net/>. |
matt mooney | 64e6242 | 2011-05-11 22:33:44 -0700 | [diff] [blame] | 15 | |
| 16 | To compile this as a module, choose M here: the module will |
| 17 | be called usbip-core. |
Takahiro Hirofuchi | 05a1f28 | 2008-07-09 14:56:51 -0600 | [diff] [blame] | 18 | |
| 19 | If unsure, say N. |
Takahiro Hirofuchi | 04679b3 | 2008-07-09 14:56:51 -0600 | [diff] [blame] | 20 | |
matt mooney | 64e6242 | 2011-05-11 22:33:44 -0700 | [diff] [blame] | 21 | config USBIP_VHCI_HCD |
| 22 | tristate "VHCI hcd" |
Arnd Bergmann | b5a2a8e | 2016-04-28 14:42:50 +0200 | [diff] [blame] | 23 | depends on USBIP_CORE && USB |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 24 | help |
matt mooney | 64e6242 | 2011-05-11 22:33:44 -0700 | [diff] [blame] | 25 | This enables the USB/IP virtual host controller driver, |
| 26 | which is run on the remote machine. |
Takahiro Hirofuchi | 04679b3 | 2008-07-09 14:56:51 -0600 | [diff] [blame] | 27 | |
matt mooney | 64e6242 | 2011-05-11 22:33:44 -0700 | [diff] [blame] | 28 | To compile this driver as a module, choose M here: the |
| 29 | module will be called vhci-hcd. |
Takahiro Hirofuchi | 4d7b5c7 | 2008-07-09 14:56:51 -0600 | [diff] [blame] | 30 | |
Nobuo Iwata | 0775a9c | 2016-06-13 11:33:40 +0900 | [diff] [blame] | 31 | config USBIP_VHCI_HC_PORTS |
| 32 | int "Number of ports per USB/IP virtual host controller" |
Ben Hutchings | 351a8d4 | 2018-01-29 00:04:18 +0000 | [diff] [blame] | 33 | range 1 15 |
Nobuo Iwata | 0775a9c | 2016-06-13 11:33:40 +0900 | [diff] [blame] | 34 | default 8 |
| 35 | depends on USBIP_VHCI_HCD |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 36 | help |
Nobuo Iwata | 0775a9c | 2016-06-13 11:33:40 +0900 | [diff] [blame] | 37 | To increase number of ports available for USB/IP virtual |
| 38 | host controller driver, this defines number of ports per |
| 39 | USB/IP virtual host controller. |
| 40 | |
| 41 | config USBIP_VHCI_NR_HCS |
| 42 | int "Number of USB/IP virtual host controllers" |
| 43 | range 1 128 |
| 44 | default 1 |
| 45 | depends on USBIP_VHCI_HCD |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 46 | help |
Nobuo Iwata | 0775a9c | 2016-06-13 11:33:40 +0900 | [diff] [blame] | 47 | To increase number of ports available for USB/IP virtual |
| 48 | host controller driver, this defines number of USB/IP |
| 49 | virtual host controllers as if adding physical host |
| 50 | controllers. |
| 51 | |
matt mooney | 64e6242 | 2011-05-11 22:33:44 -0700 | [diff] [blame] | 52 | config USBIP_HOST |
| 53 | tristate "Host driver" |
Arnd Bergmann | b5a2a8e | 2016-04-28 14:42:50 +0200 | [diff] [blame] | 54 | depends on USBIP_CORE && USB |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 55 | help |
matt mooney | 64e6242 | 2011-05-11 22:33:44 -0700 | [diff] [blame] | 56 | This enables the USB/IP host driver, which is run on the |
| 57 | machine that is sharing the USB devices. |
Takahiro Hirofuchi | 4d7b5c7 | 2008-07-09 14:56:51 -0600 | [diff] [blame] | 58 | |
matt mooney | 64e6242 | 2011-05-11 22:33:44 -0700 | [diff] [blame] | 59 | To compile this driver as a module, choose M here: the |
| 60 | module will be called usbip-host. |
Himanshu | 411a861 | 2010-01-23 17:52:02 +0530 | [diff] [blame] | 61 | |
Igor Kotrasinski | 9360575 | 2016-03-08 21:49:07 +0100 | [diff] [blame] | 62 | config USBIP_VUDC |
| 63 | tristate "VUDC driver" |
Arnd Bergmann | b5a2a8e | 2016-04-28 14:42:50 +0200 | [diff] [blame] | 64 | depends on USBIP_CORE && USB_GADGET |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 65 | help |
Igor Kotrasinski | 9360575 | 2016-03-08 21:49:07 +0100 | [diff] [blame] | 66 | This enables the USB/IP virtual USB device controller |
| 67 | driver, which is run on the host machine, allowing the |
| 68 | machine itself to act as a device. |
| 69 | |
| 70 | To compile this driver as a module, choose M here: the |
| 71 | module will be called usbip-vudc. |
| 72 | |
matt mooney | 64e6242 | 2011-05-11 22:33:44 -0700 | [diff] [blame] | 73 | config USBIP_DEBUG |
| 74 | bool "Debug messages for USB/IP" |
| 75 | depends on USBIP_CORE |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 76 | help |
matt mooney | 64e6242 | 2011-05-11 22:33:44 -0700 | [diff] [blame] | 77 | This enables the debug messages from the USB/IP drivers. |