diff options
author | George Sapountzis <gsap7@yahoo.gr> | 2007-08-28 15:37:11 +0300 |
---|---|---|
committer | George Sapountzis <gsap7@yahoo.gr> | 2007-08-28 16:08:10 +0300 |
commit | 6ff0645ecfe65727e8ef5d5e6215b4e03078e1a5 (patch) | |
tree | 0761f135a8553b88367952d1a6058d35a1599986 /src/atiprobe.c | |
parent | 7b38d9a1209f87255e5bb0aefe46a363ce4fb6ef (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/atiprobe.c')
-rw-r--r-- | src/atiprobe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/atiprobe.c b/src/atiprobe.c index cddcc613..78b3eddd 100644 --- a/src/atiprobe.c +++ b/src/atiprobe.c @@ -385,10 +385,12 @@ ATIMach64ProbeIO uint32_t PciReg; uint32_t j; +#ifndef XSERVER_LIBPCIACCESS pciConfigPtr pPCI = pVideo->thisCard; if (pPCI == NULL) goto SkipSparse; +#endif PCI_READ_LONG(pVideo, &PciReg, PCI_REG_USERCONFIG); j = PciReg & 0x03U; |