diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2009-12-10 19:06:46 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2009-12-23 16:35:00 +0200 |
commit | fcce95e2eef1f1485446cbc1fa95b4a9814abb0c (patch) | |
tree | b7bbb22b6226cdb0d6b4a045141ed8e410382ec6 | |
parent | d3e2f1353e8d467130a33e3bf245fb679f0fb8a8 (diff) | |
download | qemu-fcce95e2eef1f1485446cbc1fa95b4a9814abb0c.zip qemu-fcce95e2eef1f1485446cbc1fa95b4a9814abb0c.tar.gz qemu-fcce95e2eef1f1485446cbc1fa95b4a9814abb0c.tar.bz2 |
wdt_i6300esb: symbolic names for pci registers
No functional changes. I verified that the generated binary
does not change.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Juan Quintela <quintela@redhat.com>
Acked-by: Glauber Costa <glommer@gmail.com>
-rw-r--r-- | hw/wdt_i6300esb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/wdt_i6300esb.c b/hw/wdt_i6300esb.c index 805b302..be0e89e 100644 --- a/hw/wdt_i6300esb.c +++ b/hw/wdt_i6300esb.c @@ -411,7 +411,7 @@ static int i6300esb_init(PCIDevice *dev) pci_config_set_vendor_id(pci_conf, PCI_VENDOR_ID_INTEL); pci_config_set_device_id(pci_conf, PCI_DEVICE_ID_INTEL_ESB_9); pci_config_set_class(pci_conf, PCI_CLASS_SYSTEM_OTHER); - pci_conf[0x0e] = 0x00; + pci_conf[PCI_HEADER_TYPE] = 0x00; pci_register_bar(&d->dev, 0, 0x10, PCI_BASE_ADDRESS_SPACE_MEMORY, i6300esb_map); |