diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2009-10-30 21:21:03 +0900 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-11-09 08:43:07 -0600 |
commit | 0392a017ae9b44dd5c29bf7769a96fd6806a3551 (patch) | |
tree | c35a15a25e94fd763bfa99c402fccd2cbc11bfb6 /hw/rtl8139.c | |
parent | 67a51b48c8b7dba1fd79d66aa0a779de59b556f5 (diff) |
pci: s/PCI_ADDRESS_SPACE_/PCI_BASE_ADDRESS_SPACE_/ to match pci_regs.h
make constants for pci base address match pci_regs.h by
renaming PCI_ADDRESS_SPACE_xxx to PCI_BASE_ADDRESS_SPACE_xxx.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/rtl8139.c')
-rw-r--r-- | hw/rtl8139.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/rtl8139.c b/hw/rtl8139.c index 27cc618e00..26acbefb2d 100644 --- a/hw/rtl8139.c +++ b/hw/rtl8139.c @@ -3325,10 +3325,10 @@ static int pci_rtl8139_init(PCIDevice *dev) cpu_register_io_memory(rtl8139_mmio_read, rtl8139_mmio_write, s); pci_register_bar(&s->dev, 0, 0x100, - PCI_ADDRESS_SPACE_IO, rtl8139_ioport_map); + PCI_BASE_ADDRESS_SPACE_IO, rtl8139_ioport_map); pci_register_bar(&s->dev, 1, 0x100, - PCI_ADDRESS_SPACE_MEM, rtl8139_mmio_map); + PCI_BASE_ADDRESS_SPACE_MEMORY, rtl8139_mmio_map); qemu_macaddr_default_if_unset(&s->conf.macaddr); |