mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
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>
This commit is contained in:
parent
67a51b48c8
commit
0392a017ae
22 changed files with 53 additions and 51 deletions
|
@ -719,7 +719,7 @@ static int pci_ne2000_init(PCIDevice *pci_dev)
|
|||
pci_conf[0x3d] = 1; // interrupt pin 0
|
||||
|
||||
pci_register_bar(&d->dev, 0, 0x100,
|
||||
PCI_ADDRESS_SPACE_IO, ne2000_map);
|
||||
PCI_BASE_ADDRESS_SPACE_IO, ne2000_map);
|
||||
s = &d->ne2000;
|
||||
s->irq = d->dev.irq[0];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue