diff options
author | Ian Romanick <idr@us.ibm.com> | 2007-08-31 11:05:57 -0700 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2007-08-31 11:05:57 -0700 |
commit | 923176f5aad777b4023003a457bb77da21373389 (patch) | |
tree | c5d50681090ba9f529c8e55a87d6d727abf6eb6a /src/mga_dri.c | |
parent | 90beb8c27b4206b593898d346bf37ab49e75b975 (diff) |
Use XSERVER_LIBPCIACCESS to detect pci-rework.
Diffstat (limited to 'src/mga_dri.c')
-rw-r--r-- | src/mga_dri.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mga_dri.c b/src/mga_dri.c index a8bea66..43fcaa8 100644 --- a/src/mga_dri.c +++ b/src/mga_dri.c @@ -851,7 +851,7 @@ static void MGADRIIrqInit(MGAPtr pMga, ScreenPtr pScreen) if (!pMga->irq) { pMga->irq = drmGetInterruptFromBusID(pMga->drmFD, -#ifdef PCIACCESS +#ifdef XSERVER_LIBPCIACCESS ((pMga->PciInfo->domain << 8) | pMga->PciInfo->bus), pMga->PciInfo->dev, @@ -1160,7 +1160,7 @@ Bool MGADRIScreenInit( ScreenPtr pScreen ) } else { pDRIInfo->busIdString = xalloc(64); sprintf( pDRIInfo->busIdString, "PCI:%d:%d:%d", -#ifdef PCIACCESS +#ifdef XSERVER_LIBPCIACCESS ((pMga->PciInfo->domain << 8) | pMga->PciInfo->bus), pMga->PciInfo->dev, pMga->PciInfo->func #else |