summary refs log tree commit diff stats
path: root/hw/prep_pci.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-12-01 11:54:39 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-01 11:54:39 -0600
commit365369847f2827b14b96c52d0fbaf9cce404e68a (patch)
tree1ee8e1be27e3223b310bbb3d91bf2e54435280b0 /hw/prep_pci.c
parent0cbfcd2b03bd602b7c65f73267bf84d4f7e9fe8d (diff)
parent98304c846d8866dae6322ef400ce6595b23cfc41 (diff)
downloadfocaccia-qemu-365369847f2827b14b96c52d0fbaf9cce404e68a.tar.gz
focaccia-qemu-365369847f2827b14b96c52d0fbaf9cce404e68a.zip
Merge commit 'mst/for_anthony' into mst
Diffstat (limited to 'hw/prep_pci.c')
-rw-r--r--hw/prep_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/prep_pci.c b/hw/prep_pci.c
index a338f81e11..19f028c7b7 100644
--- a/hw/prep_pci.c
+++ b/hw/prep_pci.c
@@ -25,6 +25,7 @@
 #include "hw.h"
 #include "pci.h"
 #include "pci_host.h"
+#include "prep_pci.h"
 
 typedef PCIHostState PREPPCIState;
 
@@ -127,7 +128,7 @@ PCIBus *pci_prep_init(qemu_irq *pic)
     s->bus = pci_register_bus(NULL, "pci",
                               prep_set_irq, prep_map_irq, pic, 0, 4);
 
-    pci_host_config_register_ioport(0xcf8, s);
+    pci_host_conf_register_ioport(0xcf8, s);
 
     pci_host_data_register_ioport(0xcfc, s);