Revision 952760bb hw/ppce500_pci.c
b/hw/ppce500_pci.c | ||
---|---|---|
293 | 293 |
controller->pci_dev = d; |
294 | 294 |
|
295 | 295 |
/* CFGADDR */ |
296 |
index = pci_host_conf_register_mmio_noswap(&controller->pci_state);
|
|
296 |
index = pci_host_conf_register_mmio(&controller->pci_state, 0);
|
|
297 | 297 |
if (index < 0) |
298 | 298 |
goto free; |
299 | 299 |
cpu_register_physical_memory(registers + PCIE500_CFGADDR, 4, index); |
300 | 300 |
|
301 | 301 |
/* CFGDATA */ |
302 |
index = pci_host_data_register_mmio(&controller->pci_state); |
|
302 |
index = pci_host_data_register_mmio(&controller->pci_state, 0);
|
|
303 | 303 |
if (index < 0) |
304 | 304 |
goto free; |
305 | 305 |
cpu_register_physical_memory(registers + PCIE500_CFGDATA, 4, index); |
Also available in: Unified diff