aboutsummaryrefslogtreecommitdiffstats
path: root/tools/usb/usbip/libsrc/usbip_common.h
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2016-03-08 21:49:05 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-04-26 15:19:50 -0700
commit7b3f74f7e0601b2767aee7e188b1e3a912c082a2 (patch)
treecf2006238381d8ce0589fb9a645f5d8186c7afb9 /tools/usb/usbip/libsrc/usbip_common.h
parentusbip: tools: Extract generic code to be shared with vudc backend (diff)
downloadlinux-dev-7b3f74f7e0601b2767aee7e188b1e3a912c082a2.tar.xz
linux-dev-7b3f74f7e0601b2767aee7e188b1e3a912c082a2.zip
usbip: tools: Add vudc backend to usbip tools
Adds an equivalent of usbip_host_driver for the vudc. Most of the code is already shared, but this adds some vudc specific code for getting information about devices. Based on code created in cooperation with Open Operating Systems Student Society at University of Warsaw (O2S3@UW) consisting of: Igor Kotrasinski <ikotrasinsk@gmail.com> Karol Kosik <karo9@interia.eu> Ewelina Kosmider <3w3lfin@gmail.com> Dawid Lazarczyk <lazarczyk.dawid@gmail.com> Piotr Szulc <ps347277@students.mimuw.edu.pl> Tutor and project owner: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/usb/usbip/libsrc/usbip_common.h')
-rw-r--r--tools/usb/usbip/libsrc/usbip_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/usb/usbip/libsrc/usbip_common.h b/tools/usb/usbip/libsrc/usbip_common.h
index 15fe792e1e96..51ef5fe485dd 100644
--- a/tools/usb/usbip/libsrc/usbip_common.h
+++ b/tools/usb/usbip/libsrc/usbip_common.h
@@ -25,9 +25,12 @@
#define VHCI_STATE_PATH "/var/run/vhci_hcd"
#endif
+#define VUDC_DEVICE_DESCR_FILE "dev_desc"
+
/* kernel module names */
#define USBIP_CORE_MOD_NAME "usbip-core"
#define USBIP_HOST_DRV_NAME "usbip-host"
+#define USBIP_DEVICE_DRV_NAME "usbip-vudc"
#define USBIP_VHCI_DRV_NAME "vhci_hcd"
/* sysfs constants */