From fc85188fd95bf78b7f965cdde3e22b644c74ff81 Mon Sep 17 00:00:00 2001 From: George Sapountzis Date: Fri, 15 Feb 2008 18:36:10 +0200 Subject: 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. --- src/atipcirename.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/atipcirename.h') 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 */ -- cgit v1.2.3