diff options
author | Avi Kivity <avi@redhat.com> | 2009-06-14 11:38:53 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-16 15:18:38 -0500 |
commit | 28c2c26495da884f534d95bfda7c9b411e1417fc (patch) | |
tree | d7966a686f993fb87dbf04cc7a18697dd1f5e13e /hw/macio.c | |
parent | e9179ce1a07ff8699fae89dc1cd87efc3dd80c9d (diff) |
Rename pci_register_io_region() to pci_register_bar()
This function is used to manage a PCI BAR, so make the more generic
pci_register_io_region() available to other uses.
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/macio.c b/hw/macio.c index 28dbaa720..8cfadfc5e 100644 --- a/hw/macio.c +++ b/hw/macio.c @@ -114,6 +114,6 @@ void macio_init (PCIBus *bus, int device_id, int is_oldworld, int pic_mem_index, d->config[0x3d] = 0x01; // interrupt on pin 1 - pci_register_io_region(d, 0, 0x80000, + pci_register_bar(d, 0, 0x80000, PCI_ADDRESS_SPACE_MEM, macio_map); } |