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_dac3026.c | |
parent | 90beb8c27b4206b593898d346bf37ab49e75b975 (diff) |
Use XSERVER_LIBPCIACCESS to detect pci-rework.
Diffstat (limited to 'src/mga_dac3026.c')
-rw-r--r-- | src/mga_dac3026.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mga_dac3026.c b/src/mga_dac3026.c index 254f6e2..e33f914 100644 --- a/src/mga_dac3026.c +++ b/src/mga_dac3026.c @@ -746,7 +746,7 @@ MGA3026Restore(ScrnInfoPtr pScrn, vgaRegPtr vgaReg, MGARegPtr mgaReg, for (i = 0; i < 6; i++) OUTREG16(0x1FDE, (mgaReg->ExtVga[i] << 8) | i); -#ifdef PCIACCESS +#ifdef XSERVER_LIBPCIACCESS pci_device_cfg_write_bits(pMga->PciInfo, OPTION_MASK, mgaReg->Option, PCI_OPTION_REG); #else @@ -871,7 +871,7 @@ MGA3026Save(ScrnInfoPtr pScrn, vgaRegPtr vgaReg, MGARegPtr mgaReg, for (i = 0; i < DACREGSIZE; i++) mgaReg->DacRegs[i] = inTi3026(MGADACregs[i]); -#ifdef PCIACCESS +#ifdef XSERVER_LIBPCIACCESS pci_device_cfg_read_u32(pMga->PciInfo, & mgaReg->Option, PCI_OPTION_REG); #else |