Skip to contentSkip to conversation

PVUSB: add kernel config options

RFC PATCH In review Noboru Iwamatsu 1 participant 1 message Mar 17, 2009 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

RFC PATCH 4/4 PVUSB: add kernel config options

This patch adds the Kconfig options for the PVUSB frontend/backend drivers.

drivers/xen/Kconfig +23 -0
diff -r 51decc39e5e7 -r 9ef2e8c6cf3d drivers/xen/Kconfig
@@ -175,6 +175,14 @@ config XEN_SCSI_BACKEND
 	  The SCSI backend driver allows the kernel to export its SCSI Devices
 	  to other guests via a high-performance shared-memory interface.
 
+config XEN_USB_BACKEND
+	tristate "USB backend driver"
+	depends on USB && XEN_BACKEND
+	default m
+	help
+	  The USB backend driver allows the kernel to export its USB Devices
+	  to other guests.
+
 config XEN_BLKDEV_FRONTEND
 	tristate "Block-device frontend driver"
 	default y
@@ -207,6 +215,21 @@ config XEN_SCSI_FRONTEND
 	help
 	  The SCSI frontend driver allows the kernel to access SCSI Devices
 	  within another guest OS.
+	  
+config XEN_USB_FRONTEND
+	tristate "USB frontend driver"
+	depends on USB
+	default m
+	help
+	  The USB frontend driver allows the kernel to access USB Devices
+	  within another guest OS.
+
+config XEN_USB_FRONTEND_HCD_STATS
+	bool "Taking the HCD statistics (for debug)"
+	depends on XEN_USB_FRONTEND
+	default y
+	help
+	  Count the transferred urb status and the RING_FULL occurrence.
 
 config XEN_GRANT_DEV
 	tristate "User-space granted page access driver"
drivers/xen/Makefile +2 -0
diff -r 51decc39e5e7 -r 9ef2e8c6cf3d drivers/xen/Makefile
@@ -18,6 +18,8 @@ obj-$(CONFIG_XEN_FRAMEBUFFER)		+= fbfron
 obj-$(CONFIG_XEN_KEYBOARD)		+= fbfront/
 obj-$(CONFIG_XEN_SCSI_BACKEND)		+= scsiback/
 obj-$(CONFIG_XEN_SCSI_FRONTEND)		+= scsifront/
+obj-$(CONFIG_XEN_USB_BACKEND)		+= usbback/
+obj-$(CONFIG_XEN_USB_FRONTEND)		+= usbfront/
 obj-$(CONFIG_XEN_PRIVCMD)	+= privcmd/
 obj-$(CONFIG_XEN_GRANT_DEV)	+= gntdev/
 obj-$(CONFIG_XEN_NETDEV_ACCEL_SFC_UTIL)		+= sfc_netutil/

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel