diff options
author | Alon Levy <alevy@redhat.com> | 2011-06-24 12:47:23 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-07-17 13:19:48 +0300 |
commit | af687a1457ae09179d0861449909663270ccc14d (patch) | |
tree | 3f0fa3b3af45e10b417bf0ba3268ae2c782a7048 | |
parent | e80cd6b8f982aa7826441d917cab37bfca80b0a7 (diff) | |
download | spice-protocol-af687a1457ae09179d0861449909663270ccc14d.tar.gz spice-protocol-af687a1457ae09179d0861449909663270ccc14d.tar.xz spice-protocol-af687a1457ae09179d0861449909663270ccc14d.zip |
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.h | 8 |
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 |