[Spice-commits] spice/qxl_dev.h

Alexander Larsson alexl at kemper.freedesktop.org
Thu Jul 8 06:19:58 PDT 2010


 spice/qxl_dev.h |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

New commits:
commit 8deadab956e26e658a27de591aa294e2b7e60e44
Author: Alexander Larsson <alexl at redhat.com>
Date:   Thu Jul 8 15:16:22 2010 +0200

    List all the PCI ids and revisions instead of just the latest/current

diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index df15c49..1308194 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -39,8 +39,14 @@
 #include <spice/start-packed.h>
 
 #define REDHAT_PCI_VENDOR_ID 0x1b36
-#define QXL_DEVICE_ID 0x01ff /* 0x100-0x11f reserved for spice, 0x1ff used for unstable work */
-#define QXL_REVISION 0x01
+
+/* 0x100-0x11f reserved for spice, 0x1ff used for unstable work */
+#define QXL_DEVICE_ID_STABLE 0x0100
+#define QXL_REVISION_STABLE_V04 0x01
+#define QXL_REVISION_STABLE_V06 0x02
+
+#define QXL_DEVICE_ID_DEVEL 0x01ff
+#define QXL_REVISION_DEVEL 0x01
 
 #define QXL_ROM_MAGIC (*(uint32_t*)"QXRO")
 #define QXL_RAM_MAGIC (*(uint32_t*)"QXRA")


More information about the Spice-commits mailing list