Add and use remaining #defines for PCI device IDs (Stuart Brady)
commita770dc7ea6423020d95a0420f57aa5e7c4c96888
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 13 Mar 2009 15:02:23 +0000 (13 15:02 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 13 Mar 2009 15:02:23 +0000 (13 15:02 +0000)
tree2311ddac5de53bc68f39c90cd73b94b599dacad0
parentb8c18e4c901edae8cc14c07baa36f852be1f1ad0
Add and use remaining #defines for PCI device IDs (Stuart Brady)

This patch adds and uses #defines for the remaining hardcoded PCI
device IDs.  It also moves definitions taken from linux/pci_ids.h
into a separate header (hw/pci_ids.h), removes the 'RTL' from
PCI_DEVICE_ID_REALTEK_RTL8029, and renames PCI_DEVICE_ID_FSL_E500
to PCI_DEVICE_ID_MPC8533E to match Linux's definition.

Changes in v2:
 * Don't use C99-style comments
 * Move definitions from linux/pci_ids.h into a separate header
 * Rename PCI_DEVICE_ID_FSL_E500 to PCI_DEVICE_ID_MPC8533E

Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6841 c046a42c-6fe2-441c-8c8c-71466251a162
hw/eepro100.c
hw/gt64xxx.c
hw/ne2000.c
hw/pci.h
hw/ppc4xx_pci.c
hw/ppce500_pci.c
hw/sh_pci.c
hw/usb-ohci.c
hw/versatile_pci.c