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

Re: [Xen-devel] xensource (pci) device id's?

To: Gerd Hoffmann <kraxel@xxxxxxx>
Subject: Re: [Xen-devel] xensource (pci) device id's?
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 02 Feb 2007 19:03:36 +0000
Cc: Xen devel list <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Delivery-date: Fri, 02 Feb 2007 11:03:59 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45C20B22.9090802@xxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdG/Nc6FhN5E7LwEduJCgAX8io7RQ==
Thread-topic: [Xen-devel] xensource (pci) device id's?
User-agent: Microsoft-Entourage/11.2.5.060620
On 1/2/07 15:45, "Gerd Hoffmann" <kraxel@xxxxxxx> wrote:

> kbd->name = "Xen Virtual Keyboard";
> + kbd->id.bustype = BUS_PCI;
> + kbd->id.vendor  = 0x5853; /* XenSource, Inc. */
> + kbd->id.product = 0x0002;
> ptr->name = "Xen Virtual Pointer";
> + ptr->id.bustype = BUS_PCI;
> + ptr->id.vendor  = 0x5853; /* XenSource, Inc. */
> + ptr->id.product = 0x0003;

Instead of faking out PCI device ids, which is kinda bogus, can you match in
the X config file based on the string(s) in {kbd,ptr}->{name,phys,uniq}?
That'd be nicer than pulling random id numbers out of the air.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel