From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: xensource (pci) device id's? Date: Thu, 01 Feb 2007 14:53:37 +0100 Message-ID: <45C1F0E1.1070204@suse.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060802080107000609080507" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen devel list List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------060802080107000609080507 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, Just found this: master-xen root ~# grep -A1 -i xensource /usr/share/pci.ids fffd XenSource, Inc. 0101 PCI Event Channel Controller master-xen root ~# Is this an official vendor id assignment? Anyone at xensource hands out device id's? I'd like give id's to virtual devices (like in the patch attached) to make hardware detection and configuration easier ... cheers, Gerd -- Gerd Hoffmann --------------060802080107000609080507 Content-Type: text/x-patch; name="fix-xenkbd-2.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="fix-xenkbd-2.diff" --- linux-2.6-xen-sparse/drivers/xen/fbfront/xenkbd.c | 6 ++++++ 1 file changed, 6 insertions(+) Index: build-64-unstable-13762/linux-2.6-xen-sparse/drivers/xen/fbfront/xenkbd.c =================================================================== --- build-64-unstable-13762.orig/linux-2.6-xen-sparse/drivers/xen/fbfront/xenkbd.c +++ build-64-unstable-13762/linux-2.6-xen-sparse/drivers/xen/fbfront/xenkbd.c @@ -121,7 +121,13 @@ int __devinit xenkbd_probe(struct xenbus set_bit(i, kbd->keybit); kbd->name = "Xen Virtual Keyboard"; + kbd->id.bustype = BUS_PCI; + kbd->id.vendor = 0xfffd; /* XenSource, Inc. */ + kbd->id.product = 0x0001; ptr->name = "Xen Virtual Touchscreen"; + ptr->id.bustype = BUS_PCI; + ptr->id.vendor = 0xfffd; /* XenSource, Inc. */ + ptr->id.product = 0x0002; input_set_abs_params(ptr, ABS_X, 0, XENFB_WIDTH, 0, 0); input_set_abs_params(ptr, ABS_Y, 0, XENFB_HEIGHT, 0, 0); --------------060802080107000609080507 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------060802080107000609080507--