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

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



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


 


Rackspace

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