staging: usbip: userspace: add support for viewing imported devices
authorValentina Manea <valentina.manea.m@gmail.com>
Tue, 7 Jan 2014 19:05:56 +0000 (21:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 16:44:01 +0000 (08:44 -0800)
commitec2ff62746325b0d889bc632c9b833aa92cf3eda
tree1e45dfd0649a3a54d67bac29f2661b0662867992
parent55323187f86f6ab39ee79eb4248b2efe29a464f2
staging: usbip: userspace: add support for viewing imported devices

As of Matt Mooney's major refactoring in 2011, usbip port
option was left out. Add support for this option in
a manner similar to the old implementation.

Sample output:

Imported USB devices
====================
Port 00: <Port in Use> at Full Speed(12Mbps)
       unknown vendor : unknown product (1687:6211)
       2-1 -> usbip://192.168.122.152:3240/1-1
           -> remote bus/dev 001/002

Signed-off-by: Valentina Manea <valentina.manea.m@gmail.com>
Reviewed-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/userspace/libsrc/vhci_driver.c
drivers/staging/usbip/userspace/libsrc/vhci_driver.h
drivers/staging/usbip/userspace/src/Makefile.am
drivers/staging/usbip/userspace/src/usbip.c
drivers/staging/usbip/userspace/src/usbip.h
drivers/staging/usbip/userspace/src/usbip_port.c [new file with mode: 0644]