summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-07-08 15:16:22 +0200
committerAlexander Larsson <alexl@redhat.com>2010-07-08 15:16:22 +0200
commit8deadab956e26e658a27de591aa294e2b7e60e44 (patch)
tree66592234711c3e594f0d3b7e8222ade0cbbd851e
parenta65d4b5d097e682ad6fd0d492c1ea0e9e61a0e5a (diff)
List all the PCI ids and revisions instead of just the latest/current
-rw-r--r--spice/qxl_dev.h10
1 files changed, 8 insertions, 2 deletions
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")