diff options
| author | Mike Nawrocki | 2017-11-07 19:35:03 +0100 |
|---|---|---|
| committer | Jason Wang | 2017-11-13 08:48:54 +0100 |
| commit | 5e89dc01133f8f5e621f6b66b356c6f37d31dafb (patch) | |
| tree | c6f5737357b2925e28a44215cb64fb79f88fdb83 /include/hw | |
| parent | Fix eepro100 simple transmission mode (diff) | |
| download | qemu-5e89dc01133f8f5e621f6b66b356c6f37d31dafb.tar.gz qemu-5e89dc01133f8f5e621f6b66b356c6f37d31dafb.tar.xz qemu-5e89dc01133f8f5e621f6b66b356c6f37d31dafb.zip | |
Add new PCI ID for i82559a
Adds a new PCI ID for the i82559a (0x8086 0x1030) interface. The
"x-use-alt-device-id" property controls whether this new ID is to be
used, and is true by default, and set to false in a compat entry.
Signed-off-by: Mike Nawrocki <michael.nawrocki@gtri.gatech.edu>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/hw')
| -rw-r--r-- | include/hw/compat.h | 4 | ||||
| -rw-r--r-- | include/hw/pci/pci.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/hw/compat.h b/include/hw/compat.h index cf389b4e85..f96212c49c 100644 --- a/include/hw/compat.h +++ b/include/hw/compat.h @@ -10,6 +10,10 @@ .driver = "virtio-tablet-device",\ .property = "wheel-axis",\ .value = "false",\ + },{\ + .driver = "i82559a",\ + .property = "x-use-alt-device-id",\ + .value = "false",\ }, #define HW_COMPAT_2_9 \ diff --git a/include/hw/pci/pci.h b/include/hw/pci/pci.h index 8d02a0a383..f30e2cfb72 100644 --- a/include/hw/pci/pci.h +++ b/include/hw/pci/pci.h @@ -70,6 +70,7 @@ extern bool pci_available; /* Intel (0x8086) */ #define PCI_DEVICE_ID_INTEL_82551IT 0x1209 #define PCI_DEVICE_ID_INTEL_82557 0x1229 +#define PCI_DEVICE_ID_INTEL_82559 0x1030 #define PCI_DEVICE_ID_INTEL_82801IR 0x2922 /* Red Hat / Qumranet (for QEMU) -- see pci-ids.txt */ |
