aboutsummaryrefslogtreecommitdiff
path: root/hw/apb_pci.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-07-11 08:38:39 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-07-11 08:38:39 +0000
commit110c50fd3147f749373926400ed583504f351fd1 (patch)
treeb72d23e851d77ebaa6aacd7a56f461618d501010 /hw/apb_pci.c
parentac47a60b3fb370d12cdaf9b91cded9a1934bcc64 (diff)
Revert "Fix the PCI header type of APB"
This reverts commit e8d2a88755b849bdadaf80d19e342eade3c017bc.
Diffstat (limited to 'hw/apb_pci.c')
-rw-r--r--hw/apb_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/apb_pci.c b/hw/apb_pci.c
index 5f411aa02c..9f2a44d551 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,