aboutsummaryrefslogtreecommitdiff
path: root/hw/ppce500_pci.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2010-08-31 00:22:50 +0200
committerAlexander Graf <agraf@suse.de>2010-09-05 11:50:48 +0200
commitcfb207e643d94e3e96d456b1df14c5e36f6aa9e5 (patch)
tree6328a0268499cc6e5953d6ef954c2fab52053f03 /hw/ppce500_pci.c
parent13b7fdeffa68e3382231a70308593ae6a75d96c3 (diff)
PPC: Make e500 pci byte swap config data
The config data field on the e500 pci controller is in little endian, so we need to enable byte swap there. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/ppce500_pci.c')
-rw-r--r--hw/ppce500_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppce500_pci.c b/hw/ppce500_pci.c
index 3fa42d2cdc..629b24235f 100644
--- a/hw/ppce500_pci.c
+++ b/hw/ppce500_pci.c
@@ -313,7 +313,7 @@ static int e500_pcihost_initfn(SysBusDevice *dev)
cpu_register_physical_memory(registers + PCIE500_CFGADDR, 4, index);
/* CFGDATA */
- index = pci_host_data_register_mmio(&s->pci_state, 0);
+ index = pci_host_data_register_mmio(&s->pci_state, 1);
if (index < 0)
return -1;
cpu_register_physical_memory(registers + PCIE500_CFGDATA, 4, index);