From: Keir Fraser Subject: Re: xensource (pci) device id's? Date: Fri, 02 Feb 2007 19:03:36 +0000 Message-ID: References: <45C20B22.9090802@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45C20B22.9090802@suse.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Hoffmann Cc: Xen devel list , Ian Campbell List-Id: xen-devel@lists.xenproject.org On 1/2/07 15:45, "Gerd Hoffmann" 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