Skip to contentSkip to conversation

Remove incorrect pci_mem_base setting in bonito northbridge

PATCH Applied Huacai Chen 2 participants 2 messages Jul 14, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove incorrect pci_mem_base setting in bonito northbridge

This mistake makes PCI devices can't work correctly.

---
 hw/bonito.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
hw/bonito.c +0 -1
index 8b81032..dcf0311 100644
@@ -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);
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 6 lines · Huacai Chen

This mistake makes PCI devices can't work correctly.

---
 hw/bonito.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Thanks, applied.

Quoted 17 lines
hw/bonito.c +0 -1
index 8b81032..dcf0311 100644
@@ -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);
Signature · 1 line
1.7.0.4
Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net