aboutsummaryrefslogtreecommitdiff
path: root/hw/apb_pci.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-27 19:15:31 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-27 19:15:31 +0000
commit480b9f24d75eb8fcd25ead73b6f0265b08218c5e (patch)
tree64e7f2b913289e6b6cd2488456404a887deb2e0c /hw/apb_pci.c
parent378e2aea1b2ad216158cf172f7f218fe041f7b1f (diff)
downloadqemu-480b9f24d75eb8fcd25ead73b6f0265b08218c5e.zip
qemu-480b9f24d75eb8fcd25ead73b6f0265b08218c5e.tar.gz
qemu-480b9f24d75eb8fcd25ead73b6f0265b08218c5e.tar.bz2
Add Simba device ID
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6465 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/apb_pci.c')
-rw-r--r--hw/apb_pci.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/apb_pci.c b/hw/apb_pci.c
index a1ba7fd..fb87e8c 100644
--- a/hw/apb_pci.c
+++ b/hw/apb_pci.c
@@ -266,9 +266,11 @@ PCIBus *pci_apb_init(target_phys_addr_t special_base,
d->config[0x0E] = 0x00; // header_type
/* APB secondary busses */
- *bus2 = pci_bridge_init(s->bus, 8, 0x108e5000, pci_apb_map_irq,
+ *bus2 = pci_bridge_init(s->bus, 8, PCI_VENDOR_ID_SUN,
+ PCI_DEVICE_ID_SUN_SIMBA, pci_apb_map_irq,
"Advanced PCI Bus secondary bridge 1");
- *bus3 = pci_bridge_init(s->bus, 9, 0x108e5000, pci_apb_map_irq,
+ *bus3 = pci_bridge_init(s->bus, 9, PCI_VENDOR_ID_SUN,
+ PCI_DEVICE_ID_SUN_SIMBA, pci_apb_map_irq,
"Advanced PCI Bus secondary bridge 2");
return s->bus;
}