diff options
author | j_mayer | 2007-11-04 09:49:01 +0100 |
---|---|---|
committer | j_mayer | 2007-11-04 09:49:01 +0100 |
commit | e616a7e821c477fdb88cc422a8d925e0028e93b5 (patch) | |
tree | a63e382500d4699d6c4fe0aebd355b7f48d69cf7 /hw/grackle_pci.c | |
parent | Fix debug statements (diff) | |
download | qemu-e616a7e821c477fdb88cc422a8d925e0028e93b5.tar.gz qemu-e616a7e821c477fdb88cc422a8d925e0028e93b5.tar.xz qemu-e616a7e821c477fdb88cc422a8d925e0028e93b5.zip |
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/grackle_pci.c')
-rw-r--r-- | hw/grackle_pci.c | 16 |
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 |