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/usb-uhci.c | |
| parent | 67a51b48c8b7dba1fd79d66aa0a779de59b556f5 (diff) | |
| download | focaccia-qemu-0392a017ae9b44dd5c29bf7769a96fd6806a3551.tar.gz focaccia-qemu-0392a017ae9b44dd5c29bf7769a96fd6806a3551.zip | |
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/usb-uhci.c')
| -rw-r--r-- | hw/usb-uhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c index 1580a50a3f..21de2935e7 100644 --- a/hw/usb-uhci.c +++ b/hw/usb-uhci.c @@ -1083,7 +1083,7 @@ static int usb_uhci_common_initfn(UHCIState *s) /* Use region 4 for consistency with real hardware. BSD guests seem to rely on this. */ pci_register_bar(&s->dev, 4, 0x20, - PCI_ADDRESS_SPACE_IO, uhci_map); + PCI_BASE_ADDRESS_SPACE_IO, uhci_map); vmstate_register(0, &vmstate_uhci, s); return 0; |