From a65e9471848c4254e159481bbd09d09d58ee3d8e Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 20 Jul 2010 17:33:10 +0200 Subject: Update PCI data to stable v0.6 id/rev Also adds the subsystem id to the inf file --- miniport/qxl.c | 10 +++++----- miniport/qxl.inf | 2 +- 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 = * -- cgit v1.2.3