]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commitdiff
PVUSB: add kernel config options
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 18 Mar 2009 11:43:57 +0000 (11:43 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 18 Mar 2009 11:43:57 +0000 (11:43 +0000)
Signed-off-by: Noboru Iwamatsu <n_iwamatsu@jp.fujitsu.com>
drivers/xen/Kconfig
drivers/xen/Makefile

index 8541450ec5c38e23f9f76bc3a9bdb5fa191bf78f..4fb23e62e709be0a62ac80d1b0be12ca84c60c54 100644 (file)
@@ -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"
index 855b17c17adceaa4e180925d92bdd2aa81d8877c..b8fbc67c22d8524bd6a4ed5afad59f8734a41136 100644 (file)
@@ -18,6 +18,8 @@ obj-$(CONFIG_XEN_FRAMEBUFFER)         += fbfront/
 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/