]> xenbits.xensource.com Git - qemu-xen-4.1-testing.git/commitdiff
Revert "PPC: Make e500 pci byte swap config data"
authorAnthony Liguori <aliguori@us.ibm.com>
Wed, 8 Sep 2010 19:54:58 +0000 (14:54 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 8 Sep 2010 19:54:58 +0000 (14:54 -0500)
This reverts commit cfb207e643d94e3e96d456b1df14c5e36f6aa9e5.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/ppce500_pci.c

index 629b24235facbf2efa25d1e9f8296e6467862a88..3fa42d2cdc960f2cc068cda97e2cd5ff55f4ae5f 100644 (file)
@@ -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, 1);
+    index = pci_host_data_register_mmio(&s->pci_state, 0);
     if (index < 0)
         return -1;
     cpu_register_physical_memory(registers + PCIE500_CFGDATA, 4, index);