Mesa (master): radeon: Use PCI_MATCH_ANY for xorg driver.
Corbin Simpson
csimpson at kemper.freedesktop.org
Tue Apr 28 10:42:14 UTC 2009
Module: Mesa
Branch: master
Commit: 1ae877d95adbc19cb0a8d4fe07f46ac4d46c8147
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ae877d95adbc19cb0a8d4fe07f46ac4d46c8147
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date: Tue Apr 28 03:28:37 2009 -0700
radeon: Use PCI_MATCH_ANY for xorg driver.
Might as well.
---
src/gallium/winsys/drm/radeon/xorg/radeon_xorg.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/gallium/winsys/drm/radeon/xorg/radeon_xorg.c b/src/gallium/winsys/drm/radeon/xorg/radeon_xorg.c
index 6f77fbe..3682425 100644
--- a/src/gallium/winsys/drm/radeon/xorg/radeon_xorg.c
+++ b/src/gallium/winsys/drm/radeon/xorg/radeon_xorg.c
@@ -38,20 +38,17 @@ static Bool radeon_xorg_pci_probe(DriverPtr driver,
intptr_t match_data);
static const struct pci_id_match radeon_xorg_device_match[] = {
- {0x1002, 0x5E4D, 0xffff, 0xffff, 0, 0, 0},
- {0x1002, 0x7249, 0xffff, 0xffff, 0, 0, 0},
+ {0x1002, PCI_MATCH_ANY, PCI_MATCH_ANY, PCI_MATCH_ANY, 0, 0, 0},
{0, 0, 0},
};
static SymTabRec radeon_xorg_chipsets[] = {
- {0x5E4D, "Radeon RV410 PCIE (X700)"},
- {0x7249, "Radeon R580 PCIE (X1900 XT)"},
+ {PCI_MATCH_ANY, "ATI/AMD Radeon Graphics Chipset"},
{-1, NULL}
};
static PciChipsets radeon_xorg_pci_devices[] = {
- {0x5E4D, 0x5E4D, RES_SHARED_VGA},
- {0x7249, 0x7249, RES_SHARED_VGA},
+ {PCI_MATCH_ANY, PCI_MATCH_ANY, RES_SHARED_VGA},
{-1, -1, RES_UNDEFINED}
};
More information about the mesa-commit
mailing list