From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyLsv-00019b-Et for qemu-devel@nongnu.org; Thu, 15 Oct 2009 04:40:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyLsq-00015M-HS for qemu-devel@nongnu.org; Thu, 15 Oct 2009 04:40:32 -0400 Received: from [199.232.76.173] (port=41348 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyLsq-00015B-1A for qemu-devel@nongnu.org; Thu, 15 Oct 2009 04:40:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58278) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MyLsp-0003Hh-IM for qemu-devel@nongnu.org; Thu, 15 Oct 2009 04:40:27 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9F8eQqP022624 for ; Thu, 15 Oct 2009 04:40:26 -0400 Date: Thu, 15 Oct 2009 09:40:25 +0100 From: "Richard W.M. Jones" Message-ID: <20091015084025.GD24800@amd.home.annexia.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] Re: [PATCH 3/6] wdt_i6300esb: move PCI_DEVICE_IDE_INTEL_ESB_9 to pci_ids.h List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela Cc: qemu-devel@nongnu.org On Thu, Oct 15, 2009 at 01:39:59AM +0200, Juan Quintela wrote: > > Signed-off-by: Juan Quintela > --- > hw/pci_ids.h | 1 + > hw/wdt_i6300esb.c | 4 ---- > 2 files changed, 1 insertions(+), 4 deletions(-) > > diff --git a/hw/pci_ids.h b/hw/pci_ids.h > index 3afe674..63379c2 100644 > --- a/hw/pci_ids.h > +++ b/hw/pci_ids.h > @@ -88,6 +88,7 @@ > #define PCI_VENDOR_ID_INTEL 0x8086 > #define PCI_DEVICE_ID_INTEL_82441 0x1237 > #define PCI_DEVICE_ID_INTEL_82801AA_5 0x2415 > +#define PCI_DEVICE_ID_INTEL_ESB_9 0x25ab > #define PCI_DEVICE_ID_INTEL_82371SB_0 0x7000 > #define PCI_DEVICE_ID_INTEL_82371SB_1 0x7010 > #define PCI_DEVICE_ID_INTEL_82371SB_2 0x7020 > diff --git a/hw/wdt_i6300esb.c b/hw/wdt_i6300esb.c > index 3d920ea..40081ca 100644 > --- a/hw/wdt_i6300esb.c > +++ b/hw/wdt_i6300esb.c > @@ -36,10 +36,6 @@ > #define i6300esb_debug(fs,...) > #endif > > -#ifndef PCI_DEVICE_ID_INTEL_ESB_9 > -#define PCI_DEVICE_ID_INTEL_ESB_9 0x25ab > -#endif > - > /* PCI configuration registers */ > #define ESB_CONFIG_REG 0x60 /* Config register */ > #define ESB_LOCK_REG 0x68 /* WDT lock register */ > -- > 1.6.2.5 Ah ha, yes, I was looking for the proper place to put that define (I thought it was in a Linux / system header file). ACK. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/