diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2008-02-15 18:36:10 +0200 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2008-02-15 18:36:10 +0200 |
commit | fc85188fd95bf78b7f965cdde3e22b644c74ff81 (patch) | |
tree | 38200fd137c83d542406457caab1ef23f6505534 /src/atipcirename.h | |
parent | 665bd7e2f61cac3e029bbad5024034e5136deec1 (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.h | 3 |
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 */ |