Define PCI vendor and device IDs in pci.h (Stuart Brady)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 26 Jan 2009 15:37:35 +0000 (15:37 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 26 Jan 2009 15:37:35 +0000 (15:37 +0000)
commitdeb54399df163e782aff00beb106f3b6a7cc9663
tree00f99dbd1adbf0f2c7ac75befc848a454c77aefa
parent90a1e3c0b5811d6b334085d56fba1f5f47eaaea3
Define PCI vendor and device IDs in pci.h (Stuart Brady)

This patch defines PCI vendor and device IDs in pci.h (matching those
from Linux's pci_ids.h), and uses those definitions where appropriate.

Change from v1:
  Introduces pci_config_set_vendor_id() / pci_config_set_device_id()
  accessors as suggested by Anthony Liguori.

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@6442 c046a42c-6fe2-441c-8c8c-71466251a162
29 files changed:
hw/ac97.c
hw/acpi.c
hw/apb_pci.c
hw/cirrus_vga.c
hw/e1000.c
hw/eepro100.c
hw/es1370.c
hw/grackle_pci.c
hw/gt64xxx.c
hw/ide.c
hw/lsi53c895a.c
hw/macio.c
hw/ne2000.c
hw/openpic.c
hw/pci.h
hw/pcnet.c
hw/piix_pci.c
hw/ppc4xx_pci.c
hw/prep_pci.c
hw/rtl8139.c
hw/sh_pci.c
hw/sun4u.c
hw/unin_pci.c
hw/usb-ohci.c
hw/usb-uhci.c
hw/versatile_pci.c
hw/vga.c
hw/virtio.c
hw/vmware_vga.c