summaryrefslogtreecommitdiffstats
path: root/hw/pci.h
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2009-09-01 22:16:10 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-09 14:57:21 -0500
commitd6fd1e660312f96e6b5ca708b07a58df725ca055 (patch)
tree469fadac152c1b9e8efb2ccbe1fc00e413d92de9 /hw/pci.h
parentc32d766af127f68bb75ba5689f2f5239227bf559 (diff)
downloadhqemu-d6fd1e660312f96e6b5ca708b07a58df725ca055.zip
hqemu-d6fd1e660312f96e6b5ca708b07a58df725ca055.tar.gz
eepro100: Clean code which sets the PCI device id
* Use function pci_config_set_device_id * Use new macro PCI_DEVICE_ID_INTEL_82557 Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pci.h')
-rw-r--r--hw/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pci.h b/hw/pci.h
index dee2841..6196b6a 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -59,6 +59,7 @@ extern target_phys_addr_t pci_mem_base;
/* Intel (0x8086) */
#define PCI_DEVICE_ID_INTEL_82551IT 0x1209
+#define PCI_DEVICE_ID_INTEL_82557 0x1229
/* Red Hat / Qumranet (for QEMU) -- see pci-ids.txt */
#define PCI_VENDOR_ID_REDHAT_QUMRANET 0x1af4
OpenPOWER on IntegriCloud