[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [RFC][PATCH 4/4] PVUSB: add kernel config options



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

Signed-off-by: Noboru Iwamatsu <n_iwamatsu@xxxxxxxxxxxxxx>
diff -r 51decc39e5e7 -r 9ef2e8c6cf3d drivers/xen/Kconfig
--- a/drivers/xen/Kconfig       Wed Jan 28 13:42:09 2009 +0000
+++ b/drivers/xen/Kconfig       Mon Mar 16 18:41:12 2009 +0900
@@ -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"
diff -r 51decc39e5e7 -r 9ef2e8c6cf3d drivers/xen/Makefile
--- a/drivers/xen/Makefile      Wed Jan 28 13:42:09 2009 +0000
+++ b/drivers/xen/Makefile      Mon Mar 16 18:41:12 2009 +0900
@@ -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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.