summaryrefslogtreecommitdiff
path: root/src/atipcirename.h
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2008-02-15 18:36:10 +0200
committerGeorge Sapountzis <gsap7@yahoo.gr>2008-02-15 18:36:10 +0200
commitfc85188fd95bf78b7f965cdde3e22b644c74ff81 (patch)
tree38200fd137c83d542406457caab1ef23f6505534 /src/atipcirename.h
parent665bd7e2f61cac3e029bbad5024034e5136deec1 (diff)
ati: convert to pci probe
add pciids for each subdriver, make no use of the match_data functionality. thanks to Alex Deucher for reviewing and testing.
Diffstat (limited to 'src/atipcirename.h')
-rw-r--r--src/atipcirename.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/atipcirename.h b/src/atipcirename.h
index 5aa6b808..de8f0a39 100644
--- a/src/atipcirename.h
+++ b/src/atipcirename.h
@@ -117,6 +117,9 @@ typedef struct pci_device *pciVideoPtr;
#define PCI_WRITE_LONG(_pcidev, _value, _offset) \
pci_device_cfg_write_u32((_pcidev), (_value), (_offset))
+#define ATI_DEVICE_MATCH(d, i) \
+ { PCI_VENDOR_ATI, (d), PCI_MATCH_ANY, PCI_MATCH_ANY, 0, 0, (i) }
+
#endif /* XSERVER_LIBPCIACCESS */
#endif /* ATIPCIRENAME_H */