summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-06-24 12:47:23 +0200
committerAlon Levy <alevy@redhat.com>2011-07-18 11:20:40 +0300
commit156490faa13f1ad95bf7b3af4c22449748505b09 (patch)
tree662e7b626cef268b5c3b5406865536a9d8f54dd5
parent54253a6d545e07d9f16d871aa254d0aa4f779a7f (diff)
qxl_dev: add third revision V10
The driver will check for this revision or higher to know that the device supports async io, the two S3 related ios, and the interrupts IO_CMD and ERROR.
-rw-r--r--spice/qxl_dev.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index 5ac2f46..5e6ce06 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -43,8 +43,12 @@
/* 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
+
+enum {
+ QXL_REVISION_STABLE_V04=0x01,
+ QXL_REVISION_STABLE_V06=0x02,
+ QXL_REVISION_STABLE_V10=0x03
+};
#define QXL_DEVICE_ID_DEVEL 0x01ff
#define QXL_REVISION_DEVEL 0x01