Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05a1f28e authored by Takahiro Hirofuchi's avatar Takahiro Hirofuchi Committed by Greg Kroah-Hartman
Browse files

Staging: USB/IP: add common functions needed



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: default avatarBrian G. Merrell <bgmerrell@novell.com>
Cc: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 866b8695
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -33,4 +33,6 @@ source "drivers/staging/me4000/Kconfig"

source "drivers/staging/go7007/Kconfig"

source "drivers/staging/usbip/Kconfig"

endif # STAGING
+1 −0
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
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 −0
Original line number Diff line number Diff line
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 −0
Original line number Diff line number Diff line
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