diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-09-20 15:53:43 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-09-20 15:53:43 +0000 |
commit | 96f72476e5ffb02efed74bf37de4b32e938b8dd3 (patch) | |
tree | 8ad212b5f655c43badcdc3df7e81b5e19d76bffe /xserver/hw/xfree86 | |
parent | 20496de38664b7f0bba79d536058da548b760d4e (diff) |
Make X stop messing with PCI BARs on sparc64. Makes ati driver work again
on Ultra 5/10 machines.
ok matthieu@, oga@
Diffstat (limited to 'xserver/hw/xfree86')
-rw-r--r-- | xserver/hw/xfree86/os-support/bus/Pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xserver/hw/xfree86/os-support/bus/Pci.c b/xserver/hw/xfree86/os-support/bus/Pci.c index 2fdfa78bf..621a3bb75 100644 --- a/xserver/hw/xfree86/os-support/bus/Pci.c +++ b/xserver/hw/xfree86/os-support/bus/Pci.c @@ -1104,7 +1104,9 @@ xf86GetPciConfigFromTag(PCITAG Tag) CARD32 pciCheckForBrokenBase(PCITAG Tag,int basereg) { +#ifndef __sparc64__ pciWriteLong(Tag, PCI_MAP_REG_START + (basereg << 2), 0xffffffff); +#endif return pciReadLong(Tag, PCI_MAP_REG_START + (basereg << 2)); } |