summaryrefslogtreecommitdiffstats
path: root/sys/mips/sibyte/sb_bus_space.h
Commit message (Collapse)AuthorAgeFilesLines
* Various fixes to get the SWARM config working on a big-endian Sibyte CPU.neel2010-02-171-0/+43
Getting the little-endian PCI bus working on the big-endian CPU proved to be quite challenging. We let the PCI devices be mapped in the "match byte lanes" address window. This is where they are mapped by the CFE and DMA transfers generated to or from addresses within this window are not subject to automatic byte-swapping. However any access by the driver to memory-mapped pci space is redirected via the "match bit lanes" address window. We get the benefit of automatic byte swapping through this address window and drivers don't need to change to deal with CPU big-endianness.
OpenPOWER on IntegriCloud