All of lore.kernel.org
 help / color / mirror / Atom feed
* xensource (pci) device id's?
@ 2007-02-01 13:53 Gerd Hoffmann
  2007-02-01 13:58 ` Ian Campbell
  0 siblings, 1 reply; 26+ messages in thread
From: Gerd Hoffmann @ 2007-02-01 13:53 UTC (permalink / raw)
  To: Xen devel list

[-- Attachment #1: Type: text/plain, Size: 440 bytes --]

  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 <kraxel@suse.de>

[-- Attachment #2: fix-xenkbd-2.diff --]
[-- Type: text/x-patch, Size: 917 bytes --]

---
 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);

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2007-02-12  7:43 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-01 13:53 xensource (pci) device id's? Gerd Hoffmann
2007-02-01 13:58 ` Ian Campbell
2007-02-01 14:30   ` Gerd Hoffmann
2007-02-01 15:45     ` Gerd Hoffmann
2007-02-02  9:26       ` Ian Campbell
2007-02-02  9:47         ` Gerd Hoffmann
2007-02-02 18:25       ` Keir Fraser
2007-02-05  8:48         ` Gerd Hoffmann
2007-02-05 14:20         ` Gerd Hoffmann
2007-02-02 19:03       ` Keir Fraser
2007-02-05  2:29         ` EPS Signature Kaushik Barde
2007-02-05  2:52           ` Ian Pratt
2007-02-10  7:52             ` GDT access from DOM-0 driver Kaushik Barde
2007-02-11  1:33             ` EPS Signature Kaushik Barde
2007-02-11 10:09               ` Keir Fraser
2007-02-11 23:39                 ` Kaushik Barde
2007-02-12  0:58                   ` Keir Fraser
2007-02-12  2:36                     ` Kaushik Barde
2007-02-12  7:43                       ` Keir Fraser
2007-02-06 15:43           ` Andrew D. Ball
2007-02-05  8:55         ` xensource (pci) device id's? Gerd Hoffmann
2007-02-01 20:02     ` Zulauf, John
2007-02-01 20:29       ` Ian Campbell
2007-02-01 23:22         ` Keir Fraser
2007-02-02  8:15         ` Gerd Hoffmann
2007-02-01 23:17       ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.