WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [RFC][PATCH 4/4] PVUSB: add kernel config options
From: Noboru Iwamatsu <n_iwamatsu@xxxxxxxxxxxxxx>
Date: Tue, 17 Mar 2009 09:47:58 +0900
Delivery-date: Mon, 16 Mar 2009 17:51:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [RFC][PATCH 4/4] PVUSB: add kernel config options, Noboru Iwamatsu <=