pci-host: Delegate bswap to mmio layer
commit6ebf5905f4a664a873cf7f49094960f08cb3a2d5
authorAlexander Graf <agraf@suse.de>
Wed, 8 Dec 2010 11:05:40 +0000 (8 12:05 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 11 Dec 2010 15:24:25 +0000 (11 15:24 +0000)
tree4491565c563b2d3d60dc97e895b30278cb16300e
parent0f4f039b9895e2e52d591a123017cb53fe636f9d
pci-host: Delegate bswap to mmio layer

The only reason we have bswap versions of the pci host code is that
most pci host devices are little endian. The ppc e500 is the only
odd one here, being big endian.

So let's directly pass the endianness down to the mmio layer and not
worry about it on the pci host layer.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/dec_pci.c
hw/grackle_pci.c
hw/pci_host.c
hw/pci_host.h
hw/ppce500_pci.c
hw/unin_pci.c