summary refs log tree commit diff stats
path: root/hw/pci.h
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-02 16:42:23 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-02 16:42:23 +0000
commit74c62ba88902575be9ac3badf95d773470884b1c (patch)
tree97a5b034b1d5188e6bf8c3de92a71516f388b7c6 /hw/pci.h
parentdfebf62bb9cde4881e9d920d462082ef7e7b5407 (diff)
downloadfocaccia-qemu-74c62ba88902575be9ac3badf95d773470884b1c.tar.gz
focaccia-qemu-74c62ba88902575be9ac3badf95d773470884b1c.zip
kvm/powerpc: Add freescale pci controller's support
This patch add the emulation of freescale's pci controller for MPC85xx platform.

Signed-off-by: Liu Yu <yu.liu@freescale.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6661 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pci.h')
-rw-r--r--hw/pci.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/pci.h b/hw/pci.h
index 8c301d097e..56381e8a75 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -40,6 +40,7 @@ extern target_phys_addr_t pci_mem_base;
 #define PCI_CLASS_BRIDGE_OTHER           0x0680
 
 #define PCI_CLASS_PROCESSOR_CO           0x0b40
+#define PCI_CLASS_PROCESSOR_POWERPC      0x0b20
 
 #define PCI_CLASS_OTHERS                 0xff
 
@@ -112,6 +113,9 @@ extern target_phys_addr_t pci_mem_base;
 #define PCI_DEVICE_ID_INTEL_82371AB_2    0x7112
 #define PCI_DEVICE_ID_INTEL_82371AB_3    0x7113
 
+#define PCI_VENDOR_ID_FSL                0x1957
+#define PCI_DEVICE_ID_FSL_E500           0x0030
+
 /* Red Hat / Qumranet (for QEMU) -- see pci-ids.txt */
 #define PCI_VENDOR_ID_REDHAT_QUMRANET    0x1af4
 #define PCI_SUBVENDOR_ID_REDHAT_QUMRANET 0x1af4