Commit 110c50fd3147f749373926400ed583504f351fd1

Authored by Blue Swirl
1 parent ac47a60b

Revert "Fix the PCI header type of APB"

This reverts commit e8d2a887.
Showing 1 changed file with 1 additions and 1 deletions
hw/apb_pci.c
... ... @@ -263,7 +263,7 @@ PCIBus *pci_apb_init(target_phys_addr_t special_base,
263 263 d->config[0x09] = 0x00; // programming i/f
264 264 pci_config_set_class(d->config, PCI_CLASS_BRIDGE_HOST);
265 265 d->config[0x0D] = 0x10; // latency_timer
266   - d->config[PCI_HEADER_TYPE] = PCI_HEADER_TYPE_BRIDGE; // header_type
  266 + d->config[PCI_HEADER_TYPE] = PCI_HEADER_TYPE_NORMAL; // header_type
267 267  
268 268 /* APB secondary busses */
269 269 *bus2 = pci_bridge_init(s->bus, 8, PCI_VENDOR_ID_SUN,
... ...