summaryrefslogtreecommitdiff
path: root/src/atipcirename.h
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2007-08-28 15:37:11 +0300
committerGeorge Sapountzis <gsap7@yahoo.gr>2007-08-28 16:08:10 +0300
commit6ff0645ecfe65727e8ef5d5e6215b4e03078e1a5 (patch)
tree0761f135a8553b88367952d1a6058d35a1599986 /src/atipcirename.h
parent7b38d9a1209f87255e5bb0aefe46a363ce4fb6ef (diff)
[mach64] Convert to pci-rework, keeping source-code compatibility.pci-rework
It still uses the old probe method though, this is due to the ati wrapper.
Diffstat (limited to 'src/atipcirename.h')
-rw-r--r--src/atipcirename.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/atipcirename.h b/src/atipcirename.h
index 280a81af..e30d10c2 100644
--- a/src/atipcirename.h
+++ b/src/atipcirename.h
@@ -34,7 +34,7 @@ enum region_type {
REGION_IO
};
-#ifndef PCIACCESS
+#ifndef XSERVER_LIBPCIACCESS
/* pciVideoPtr */
#define PCI_DEV_VENDOR_ID(_pcidev) ((_pcidev)->vendor)
@@ -71,7 +71,7 @@ enum region_type {
#define PCI_WRITE_LONG(_pcidev, _value, _offset) \
pciWriteLong(PCI_CFG_TAG(_pcidev), (_offset), (_value))
-#else /* PCIACCESS */
+#else /* XSERVER_LIBPCIACCESS */
typedef struct pci_device *pciVideoPtr;
@@ -105,6 +105,6 @@ typedef struct pci_device *pciVideoPtr;
#define PCI_WRITE_LONG(_pcidev, _value, _offset) \
pci_device_cfg_write_u32((_pcidev), (_value), (_offset))
-#endif /* PCIACCESS */
+#endif /* XSERVER_LIBPCIACCESS */
#endif /* ATIPCIRENAME_H */