summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-07-08 15:57:46 +0200
committerAlexander Larsson <alexl@redhat.com>2010-07-08 15:57:46 +0200
commit9e2cc4ccf89ef57ebab4a2150853736bfeeb8e17 (patch)
tree5c70b2e8f9b3e249cd687fd664b1d2030e4decf6
parent59bf9a11a2fe64e1347e20b7d01e9b6bb22f0b0a (diff)
Use the new PCI id/rev macros
-rw-r--r--miniport/qxl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miniport/qxl.c b/miniport/qxl.c
index 9c7e1bc..1718913 100644
--- a/miniport/qxl.c
+++ b/miniport/qxl.c
@@ -323,13 +323,13 @@ VP_STATUS Prob(QXLExtension *dev, VIDEO_PORT_CONFIG_INFO *conf_info,
return ERROR_INVALID_PARAMETER;
}
- if (pci_conf.DeviceID != QXL_DEVICE_ID) {
+ if (pci_conf.DeviceID != QXL_DEVICE_ID_DEVEL) {
DEBUG_PRINT((0, "%s: bad vendor id 0x%x expectes 0x%x\n",
__FUNCTION__, pci_conf.DeviceID, QXL_DEVICE_ID));
return ERROR_INVALID_PARAMETER;
}
- if (pci_conf.RevisionID != QXL_REVISION) {
+ 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));
return ERROR_INVALID_PARAMETER;