* [Qemu-devel] [PATCH] msix: remove duplicated defines.
@ 2010-05-27 5:40 Isaku Yamahata
2010-05-27 14:15 ` [Qemu-devel] " Michael S. Tsirkin
0 siblings, 1 reply; 2+ messages in thread
From: Isaku Yamahata @ 2010-05-27 5:40 UTC (permalink / raw)
To: qemu-devel
remove defines which are already defined in pci_regs.h
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Qemu-devel] Re: [PATCH] msix: remove duplicated defines.
2010-05-27 5:40 [Qemu-devel] [PATCH] msix: remove duplicated defines Isaku Yamahata
@ 2010-05-27 14:15 ` Michael S. Tsirkin
0 siblings, 0 replies; 2+ messages in thread
From: Michael S. Tsirkin @ 2010-05-27 14:15 UTC (permalink / raw)
To: Isaku Yamahata; +Cc: qemu-devel
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 <yamahata@valinux.co.jp>
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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-27 14:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-27 5:40 [Qemu-devel] [PATCH] msix: remove duplicated defines Isaku Yamahata
2010-05-27 14:15 ` [Qemu-devel] " Michael S. Tsirkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).