aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-04 08:49:01 +0000
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-04 08:49:01 +0000
commite616a7e821c477fdb88cc422a8d925e0028e93b5 (patch)
treea63e382500d4699d6c4fe0aebd355b7f48d69cf7 /hw
parentab3d1727d126525284843a7c00cdb4de867d98e2 (diff)
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
Diffstat (limited to 'hw')
-rw-r--r--hw/grackle_pci.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/hw/grackle_pci.c b/hw/grackle_pci.c
index 85c434c8e8..af63a4155d 100644
--- a/hw/grackle_pci.c
+++ b/hw/grackle_pci.c
@@ -115,22 +115,6 @@ PCIBus *pci_grackle_init(uint32_t base, qemu_irq *pic)
d->config[0x0b] = 0x06; // class_base = PCI_bridge
d->config[0x0e] = 0x00; // header_type
- d->config[0x18] = 0x00; // primary_bus
- d->config[0x19] = 0x01; // secondary_bus
- d->config[0x1a] = 0x00; // subordinate_bus
- d->config[0x1c] = 0x00;
- d->config[0x1d] = 0x00;
-
- d->config[0x20] = 0x00; // memory_base
- d->config[0x21] = 0x00;
- d->config[0x22] = 0x01; // memory_limit
- d->config[0x23] = 0x00;
-
- d->config[0x24] = 0x00; // prefetchable_memory_base
- d->config[0x25] = 0x00;
- d->config[0x26] = 0x00; // prefetchable_memory_limit
- d->config[0x27] = 0x00;
-
#if 0
/* PCI2PCI bridge same values as PearPC - check this */
d->config[0x00] = 0x11; // vendor_id