aboutsummaryrefslogtreecommitdiffstats
path: root/hw/macio.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-08-08 16:09:31 +0300
committerAnthony Liguori <aliguori@us.ibm.com>2011-08-08 10:22:30 -0500
commite824b2cc3b4f6fbcbaa254abd8db55d2fbe8d19e (patch)
tree72d1a08845c780d6a82cea88f3dd6ea2e5ca7e2e /hw/macio.c
parent50181f10dae755aad2b4f4f486d18e48dd66ea37 (diff)
pci: rename pci_register_bar_region() to pci_register_bar()
Reviewed-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/macio.c')
-rw-r--r--hw/macio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/macio.c b/hw/macio.c
index 71fa2a8b8..cc6ae4005 100644
--- a/hw/macio.c
+++ b/hw/macio.c
@@ -111,6 +111,5 @@ void macio_init (PCIBus *bus, int device_id, int is_oldworld,
d->config[0x3d] = 0x01; // interrupt on pin 1
macio_bar_setup(macio_state);
- pci_register_bar_region(d, 0, PCI_BASE_ADDRESS_SPACE_MEMORY,
- &macio_state->bar);
+ pci_register_bar(d, 0, PCI_BASE_ADDRESS_SPACE_MEMORY, &macio_state->bar);
}