From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NInWl-0005SC-C5 for qemu-devel@nongnu.org; Thu, 10 Dec 2009 13:14:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NInWg-0005L3-AT for qemu-devel@nongnu.org; Thu, 10 Dec 2009 13:14:10 -0500 Received: from [199.232.76.173] (port=41855 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NInWg-0005Kf-5M for qemu-devel@nongnu.org; Thu, 10 Dec 2009 13:14:06 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39942) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NInWg-0003ix-LO for qemu-devel@nongnu.org; Thu, 10 Dec 2009 13:14:06 -0500 Date: Thu, 10 Dec 2009 20:11:20 +0200 From: "Michael S. Tsirkin" Message-ID: <20091210181120.GN25707@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] [PATCH 13/17] wdt_i6300esb: symbolic names for pci registers List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori , qemu-devel@nongnu.org No functional changes. I verified that the generated binary does not change. Signed-off-by: Michael S. Tsirkin --- 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); -- 1.6.6.rc1.43.gf55cc