qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 110c50f] Revert "Fix the PCI header type of APB"


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 110c50f] Revert "Fix the PCI header type of APB"
Date: Sat, 11 Jul 2009 12:28:35 -0000

From: Blue Swirl <address@hidden>

This reverts commit e8d2a88755b849bdadaf80d19e342eade3c017bc.

diff --git a/hw/apb_pci.c b/hw/apb_pci.c
index 5f411aa..9f2a44d 100644
--- a/hw/apb_pci.c
+++ b/hw/apb_pci.c
@@ -263,7 +263,7 @@ PCIBus *pci_apb_init(target_phys_addr_t special_base,
     d->config[0x09] = 0x00; // programming i/f
     pci_config_set_class(d->config, PCI_CLASS_BRIDGE_HOST);
     d->config[0x0D] = 0x10; // latency_timer
-    d->config[PCI_HEADER_TYPE] = PCI_HEADER_TYPE_BRIDGE; // header_type
+    d->config[PCI_HEADER_TYPE] = PCI_HEADER_TYPE_NORMAL; // header_type
 
     /* APB secondary busses */
     *bus2 = pci_bridge_init(s->bus, 8, PCI_VENDOR_ID_SUN,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]