Skip to content

Commit

Permalink
Staging: USB/IP: add common functions needed
Browse files Browse the repository at this point in the history
This adds the common functions needed by both the host and client side
of the USB/IP code.

Brian Merrell cleaned up a lot of this code and submitted it for
inclusion.  Greg also did a lot of cleanup.

Signed-off-by: Brian G. Merrell <bgmerrell@novell.com>
Cc: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Takahiro Hirofuchi authored and Greg Kroah-Hartman committed Oct 10, 2008
1 parent 866b869 commit 05a1f28
Show file tree
Hide file tree
Showing 8 changed files with 1,573 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@ source "drivers/staging/me4000/Kconfig"

source "drivers/staging/go7007/Kconfig"

source "drivers/staging/usbip/Kconfig"

endif # STAGING
1 change: 1 addition & 0 deletions drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ obj-$(CONFIG_SLICOSS) += slicoss/
obj-$(CONFIG_SXG) += sxg/
obj-$(CONFIG_ME4000) += me4000/
obj-$(CONFIG_VIDEO_GO7007) += go7007/
obj-$(CONFIG_USB_IP_COMMON) += usbip/
14 changes: 14 additions & 0 deletions drivers/staging/usbip/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
config USB_IP_COMMON
tristate "USB IP support (EXPERIMENTAL)"
depends on USB && EXPERIMENTAL
default N
---help---
This enables pushing USB packets over IP to allow remote
machines access to USB devices directly. For more details,
and links to the userspace utility programs to let this work
properly, see http://usbip.naist.jp/

To compile this driver as a module, choose M here: the
module will be called usbip_common_mod.

If unsure, say N.
6 changes: 6 additions & 0 deletions drivers/staging/usbip/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
obj-$(CONFIG_USB_IP_COMMON) += usbip_common_mod.o
usbip_common_mod-objs := usbip_common.o usbip_event.o

ifeq ($(CONFIG_USB_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
6 changes: 6 additions & 0 deletions drivers/staging/usbip/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
TODO:
- more discussion about the protocol
- testing
- review of the userspace interface

Please send patches for this code to Greg Kroah-Hartman <greg@kroah.com>
Loading

0 comments on commit 05a1f28

Please sign in to comment.