From e824b2cc3b4f6fbcbaa254abd8db55d2fbe8d19e Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Mon, 8 Aug 2011 16:09:31 +0300 Subject: pci: rename pci_register_bar_region() to pci_register_bar() Reviewed-by: Richard Henderson Reviewed-by: Anthony Liguori Signed-off-by: Avi Kivity Signed-off-by: Anthony Liguori --- hw/sun4u.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'hw/sun4u.c') 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; } -- cgit v1.2.3-55-g7522