Commit e616a7e821c477fdb88cc422a8d925e0028e93b5

Authored by j_mayer
1 parent ab3d1727

Fix grackle (in fact MPC106) PCI host bridge header

to avoid confusing firmwares and OSes.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3526 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 0 additions and 16 deletions
hw/grackle_pci.c
... ... @@ -115,22 +115,6 @@ PCIBus *pci_grackle_init(uint32_t base, qemu_irq *pic)
115 115 d->config[0x0b] = 0x06; // class_base = PCI_bridge
116 116 d->config[0x0e] = 0x00; // header_type
117 117  
118   - d->config[0x18] = 0x00; // primary_bus
119   - d->config[0x19] = 0x01; // secondary_bus
120   - d->config[0x1a] = 0x00; // subordinate_bus
121   - d->config[0x1c] = 0x00;
122   - d->config[0x1d] = 0x00;
123   -
124   - d->config[0x20] = 0x00; // memory_base
125   - d->config[0x21] = 0x00;
126   - d->config[0x22] = 0x01; // memory_limit
127   - d->config[0x23] = 0x00;
128   -
129   - d->config[0x24] = 0x00; // prefetchable_memory_base
130   - d->config[0x25] = 0x00;
131   - d->config[0x26] = 0x00; // prefetchable_memory_limit
132   - d->config[0x27] = 0x00;
133   -
134 118 #if 0
135 119 /* PCI2PCI bridge same values as PearPC - check this */
136 120 d->config[0x00] = 0x11; // vendor_id
... ...