qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH] msix: remove duplicated defines.


From: Michael S. Tsirkin
Subject: [Qemu-devel] Re: [PATCH] msix: remove duplicated defines.
Date: Thu, 27 May 2010 17:15:07 +0300
User-agent: Mutt/1.5.19 (2009-01-05)

On Thu, May 27, 2010 at 02:40:37PM +0900, Isaku Yamahata wrote:
> remove defines which are already defined in pci_regs.h
> 
> Signed-off-by: Isaku Yamahata <address@hidden>

Applied, thanks!

> ---
>  hw/msix.c |    8 --------
>  1 files changed, 0 insertions(+), 8 deletions(-)
> 
> diff --git a/hw/msix.c b/hw/msix.c
> index 2ca0900..1613bb4 100644
> --- a/hw/msix.c
> +++ b/hw/msix.c
> @@ -15,14 +15,6 @@
>  #include "msix.h"
>  #include "pci.h"
>  
> -/* Declaration from linux/pci_regs.h */
> -#define  PCI_CAP_ID_MSIX 0x11 /* MSI-X */
> -#define  PCI_MSIX_FLAGS 2     /* Table at lower 11 bits */
> -#define  PCI_MSIX_FLAGS_QSIZE        0x7FF
> -#define  PCI_MSIX_FLAGS_ENABLE       (1 << 15)
> -#define  PCI_MSIX_FLAGS_MASKALL      (1 << 14)
> -#define  PCI_MSIX_FLAGS_BIRMASK      (7 << 0)
> -
>  /* MSI-X capability structure */
>  #define MSIX_TABLE_OFFSET 4
>  #define MSIX_PBA_OFFSET 8
> -- 
> 1.6.6.1
> 



reply via email to

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