the new PCI mapping routines are broken on sparc64 (in fact they look
broken for any 32 bit X server running on a 64 bit kernel) so #ifdef them out for now. the PCI rework tree will make all this crap go away, so I think we can tolerate the extra #ifdef for the next release.
This commit is contained in:
parent
65256109bb
commit
b3a3020fd0
|
@ -83,7 +83,13 @@ static pciBusFuncs_t linuxFuncs0 = {
|
|||
/* pciAddrBusToHost */ linuxPpcBusAddrToHostAddr,
|
||||
#else
|
||||
/* pciAddrHostToBus */ pciAddrNOOP,
|
||||
/* linuxTransAddrBusToHost is busted on sparc64 but the PCI rework tree
|
||||
* makes it all moot, so we kludge it for now */
|
||||
#if defined(__sparc64__)
|
||||
/* pciAddrBusToHost */ pciAddrNOOP,
|
||||
#else
|
||||
/* pciAddrBusToHost */ linuxTransAddrBusToHost,
|
||||
#endif /* __sparc64__ */
|
||||
#endif
|
||||
|
||||
/* pciControlBridge */ NULL,
|
||||
|
|
Loading…
Reference in New Issue
Block a user