diff options
author | Avi Kivity | 2011-08-08 15:09:31 +0200 |
---|---|---|
committer | Anthony Liguori | 2011-08-08 17:22:30 +0200 |
commit | e824b2cc3b4f6fbcbaa254abd8db55d2fbe8d19e (patch) | |
tree | 72d1a08845c780d6a82cea88f3dd6ea2e5ca7e2e /hw/sun4u.c | |
parent | pci: fold BAR mapping function into its caller (diff) | |
download | qemu-e824b2cc3b4f6fbcbaa254abd8db55d2fbe8d19e.tar.gz qemu-e824b2cc3b4f6fbcbaa254abd8db55d2fbe8d19e.tar.xz qemu-e824b2cc3b4f6fbcbaa254abd8db55d2fbe8d19e.zip |
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/sun4u.c')
-rw-r--r-- | hw/sun4u.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/hw/sun4u.c b/hw/sun4u.c index cb76031223..7b2d0b17e4 100644 --- a/hw/sun4u.c +++ b/hw/sun4u.c @@ -554,11 +554,9 @@ pci_ebus_init1(PCIDevice *pci_dev) pci_dev->config[0x0D] = 0x0a; // latency_timer isa_mmio_setup(&s->bar0, 0x1000000); - pci_register_bar_region(pci_dev, 0, PCI_BASE_ADDRESS_SPACE_MEMORY, - &s->bar0); + pci_register_bar(pci_dev, 0, PCI_BASE_ADDRESS_SPACE_MEMORY, &s->bar0); isa_mmio_setup(&s->bar1, 0x800000); - pci_register_bar_region(pci_dev, 1, PCI_BASE_ADDRESS_SPACE_MEMORY, - &s->bar1); + pci_register_bar(pci_dev, 1, PCI_BASE_ADDRESS_SPACE_MEMORY, &s->bar1); return 0; } |