summaryrefslogtreecommitdiff
path: root/src/atimach64probe.c
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/atimach64probe.c
parent7b38d9a1209f87255e5bb0aefe46a363ce4fb6ef (diff)
[mach64] Convert to pci-rework, keeping source-code compatibility.
It still uses the old probe method though, this is due to the ati wrapper.
Diffstat (limited to 'src/atimach64probe.c')
-rw-r--r--src/atimach64probe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/atimach64probe.c b/src/atimach64probe.c
index c5330cc..2f716a1 100644
--- a/src/atimach64probe.c
+++ b/src/atimach64probe.c
@@ -146,8 +146,10 @@ Mach64Probe(DriverPtr pDriver, int flags)
int numUsed;
Bool ProbeSuccess = FALSE;
+#ifndef XSERVER_LIBPCIACCESS
if (xf86GetPciVideoInfo() == NULL)
return FALSE;
+#endif
if ((numDevSections = xf86MatchDevice(ATI_DRIVER_NAME, &devSections)) <= 0)
return FALSE;