History log of /drivers/staging/usbip/userspace/src/usbip_bind.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
06c465f5d2286749b3a90d29f67c2e5e7e1bd0f9 20-Jun-2011 matt mooney <mfm@muteddisk.com> staging: usbip: userspace: usbip_bind.c: major rewrite of the implementation

Rewrite functions in terms of libsysfs, which eliminates a lot of
helper functions simplifying the file layout. Now, the two processes
taking place here, an unbind of the old driver and a bind of
usbip-host, are single functions and have been renamed along with the
controlling function. A check to see if the device is already bound to
usbip-host is now included.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/usbip/userspace/src/usbip_bind.c
3e4fda9f956d3e8f14e8cabc6dd4f1caa95981e4 27-May-2011 matt mooney <mfm@muteddisk.com> staging: usbip: change the busid size

Change busid size to correspond with SYSFS_BUS_ID_SIZE, which was
already being used in most cases. This eliminates the need to define
BUS_ID_SIZE in the userspace code.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/usbip/userspace/src/usbip_bind.c
4cbab52d18fc35e3c66f68e0382cd0815d31bb5f 27-May-2011 matt mooney <mfm@muteddisk.com> staging: usbip: userspace: move header includes out utils.h

The includes have been moved out of utils.h to their respective source
files where they are suppose to be. An include guard is also added to
utils.h

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/usbip/userspace/src/usbip_bind.c
e9837bbb3e694eef4c55c934ebf1f8a0399b142c 26-May-2011 matt mooney <mfm@muteddisk.com> staging: usbip: userspace tools v1.0.0

The new and improved (well somewhat, with a ways to go) userspace utility.

mfm:pts/8[~/tmp/userspace]
May26 05:18:31 % ./src/usbip help
usage: usbip [--debug] [version]
[help] <command> <args>

attach Attach a remote USB device
detach Detach a remote USB device
list List exported or local USB devices
bind Bind device to usbip-host.ko
unbind Unbind device from usbip-host.ko

This first commit of the userspace `usbip' utility uses to same
implementation as the old tools, `usbip' and `usbip_bind_driver'.
Nothing significant has changed so compatibility with windows has
_not_ been broken. However, the tools remain broken in many ways
due to the old implementation.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/usbip/userspace/src/usbip_bind.c