History log of /drivers/staging/usbip/userspace/src/usbip_list.c
Revision Date Author Comments
2435ab147bfb8f490c3b3d2b0ff550c3e02f0c2e 07-Jul-2011 matt mooney <mfm@muteddisk.com> staging: usbip: userspace: usbip: modify `list' help message

The remote devices listed are, technically, exportable and not
necessarily exported.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fcedd169be21564280f83ef486e403fa34f61a39 07-Jul-2011 matt mooney <mfm@muteddisk.com> staging: usbip: userspace: usbip_list.c: modify exportable device output

Change spacing to provide better indentation for readability.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
3c6e9e8f350c95fbf17736e42ce273f10094d529 07-Jul-2011 matt mooney <mfm@muteddisk.com> staging: usbip: userspace: add new prefix for usbip network code

Change and add new usbip_net_ prefix to every function in the network
code for easier identification.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
b9d65b1dd30abdb585e6750e4edfc8ce3b3ab28a 20-Jun-2011 matt mooney <mfm@muteddisk.com> staging: usbip: userspace: usbip list: move output header

Delay the printing of the output header until the list is received
from the remote host. This allows notification that the host does not
have any exportable devices.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
622dde8105488e4dfee94cc352c3b7d78f7cc495 20-Jun-2011 matt mooney <mfm@muteddisk.com> staging: usbip: userspace: usbip list: edit output messages

Edit dbg and normal output messages for consistency and better
feedback.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1109566469f7df817753939227e989c6395a7595 27-May-2011 matt mooney <mfm@muteddisk.com> staging: usbip: userspace: usbip_list.c: cleanup exported device functions

Rename functions and cleanup coding style.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
35dd0c2da61a584678a4a8425c174c7dbdd36e2b 27-May-2011 matt mooney <mfm@muteddisk.com> staging: usbip: userspace: rename usbip device and interface

Add prefix of usbip_ to internal usb device and interface to avoid
confusion with the kernel types. This also identifies the types as
being part of the usbip library.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
74ce259c670a6d468802c725570a16b0483a2ae8 27-May-2011 matt mooney <mfm@muteddisk.com> staging: usbip: userspace: usbip_list.c: refactor local USB device listing

Combines the different list display types for local devices into one
function. Removes dependence on utils.h, which only exists as a way to
circumvent libsysfs and will be removed. The devices are now sorted as
an added benefit of this refactor.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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>