summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-07-20 17:33:10 +0200
committerAlexander Larsson <alexl@redhat.com>2010-07-20 17:33:10 +0200
commita65e9471848c4254e159481bbd09d09d58ee3d8e (patch)
tree7f8aa1f6ece3b55878945ab46a2bd71a49fe259c
parent3f1b5fffa0474e1c31950bfd5dbbed02c78dc380 (diff)
Update PCI data to stable v0.6 id/rev
Also adds the subsystem id to the inf file
-rw-r--r--miniport/qxl.c10
-rw-r--r--miniport/qxl.inf2
2 files changed, 6 insertions, 6 deletions
diff --git a/miniport/qxl.c b/miniport/qxl.c
index 1718913..348758a 100644
--- a/miniport/qxl.c
+++ b/miniport/qxl.c
@@ -323,15 +323,15 @@ VP_STATUS Prob(QXLExtension *dev, VIDEO_PORT_CONFIG_INFO *conf_info,
return ERROR_INVALID_PARAMETER;
}
- if (pci_conf.DeviceID != QXL_DEVICE_ID_DEVEL) {
+ if (pci_conf.DeviceID != QXL_DEVICE_ID_STABLE) {
DEBUG_PRINT((0, "%s: bad vendor id 0x%x expectes 0x%x\n",
- __FUNCTION__, pci_conf.DeviceID, QXL_DEVICE_ID));
+ __FUNCTION__, pci_conf.DeviceID, QXL_DEVICE_ID_STABLE));
return ERROR_INVALID_PARAMETER;
}
- if (pci_conf.RevisionID != QXL_REVISION_DEVEL) {
- DEBUG_PRINT((0, "%s: bad revision 0x%x expectes 0x%x\n",
- __FUNCTION__, pci_conf.RevisionID, QXL_REVISION));
+ if (pci_conf.RevisionID < QXL_REVISION_STABLE_V06) {
+ DEBUG_PRINT((0, "%s: bad revision 0x%x expectes at least 0x%x\n",
+ __FUNCTION__, pci_conf.RevisionID, QXL_REVISION_STABLE_V06));
return ERROR_INVALID_PARAMETER;
}
diff --git a/miniport/qxl.inf b/miniport/qxl.inf
index 6c87704..3840284 100644
--- a/miniport/qxl.inf
+++ b/miniport/qxl.inf
@@ -17,7 +17,7 @@ qxl.Display = 11 ; system32
%RHAT% = q.Mfg
[q.Mfg]
-%RHAT% %QXL% = qxl, PCI\VEN_1b36&DEV_01ff
+%RHAT% %QXL% = qxl, PCI\VEN_1b36&DEV_0100&SUBSYS_11001af4&REV_02
[ControlFlags]
ExcludeFromSelect = *