mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -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
|
@ -1331,8 +1331,9 @@ static int ac97_initfn (PCIDevice *dev)
|
|||
c[0x3c] = 0x00; /* intr_ln interrupt line rw */
|
||||
c[0x3d] = 0x01; /* intr_pn interrupt pin ro */
|
||||
|
||||
pci_register_bar (&s->dev, 0, 256 * 4, PCI_ADDRESS_SPACE_IO, ac97_map);
|
||||
pci_register_bar (&s->dev, 1, 64 * 4, PCI_ADDRESS_SPACE_IO, ac97_map);
|
||||
pci_register_bar (&s->dev, 0, 256 * 4, PCI_BASE_ADDRESS_SPACE_IO,
|
||||
ac97_map);
|
||||
pci_register_bar (&s->dev, 1, 64 * 4, PCI_BASE_ADDRESS_SPACE_IO, ac97_map);
|
||||
register_savevm ("ac97", 0, 2, ac97_save, ac97_load, s);
|
||||
qemu_register_reset (ac97_on_reset, s);
|
||||
AUD_register_card ("ac97", &s->card);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue