qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 3/6] wdt_i6300esb: move PCI_DEVICE_IDE_INTEL_ESB


From: Richard W.M. Jones
Subject: [Qemu-devel] Re: [PATCH 3/6] wdt_i6300esb: move PCI_DEVICE_IDE_INTEL_ESB_9 to pci_ids.h
Date: Thu, 15 Oct 2009 09:40:25 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Oct 15, 2009 at 01:39:59AM +0200, Juan Quintela wrote:
> 
> Signed-off-by: Juan Quintela <address@hidden>
> ---
>  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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]