aboutsummaryrefslogtreecommitdiff
path: root/hw/bonito.c
diff options
context:
space:
mode:
authorHuacai Chen <zltjiangshi@gmail.com>2010-07-14 19:51:49 +0800
committerAurelien Jarno <aurelien@aurel32.net>2010-07-14 14:35:10 +0200
commitfed61bbe3235f0a3507bfb688354bc0431743133 (patch)
treed2f23bebd42286cc05745adc74b4ac75967c824e /hw/bonito.c
parentb7fdb3ab0e22a9a8debcb928497b248f06778845 (diff)
hw/bonito: remove incorrect pci_mem_base setting
This mistake makes PCI devices can't work correctly. Signed-off-by: Huacai Chen <zltjiangshi@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/bonito.c')
-rw-r--r--hw/bonito.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/bonito.c b/hw/bonito.c
index 8b810321ad..dcf031134e 100644
--- a/hw/bonito.c
+++ b/hw/bonito.c
@@ -775,7 +775,6 @@ PCIBus *bonito_init(qemu_irq *pic)
pci_bonito_map_irq, pic, 0x28, 32);
pcihost->bus = b;
qdev_init_nofail(dev);
- pci_bus_set_mem_base(pcihost->bus, 0x10000000);
d = pci_create_simple(b, PCI_DEVFN(0, 0), "Bonito");
s = DO_UPCAST(PCIBonitoState, dev, d);