From 1b4e8f732d118d1bd64c49e3c9d90832f8214272 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Thu, 27 May 2010 14:40:37 +0900 Subject: msix: remove duplicated defines. remove defines which are already defined in pci_regs.h Signed-off-by: Isaku Yamahata Signed-off-by: Michael S. Tsirkin --- hw/msix.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'hw') diff --git a/hw/msix.c b/hw/msix.c index 2ca0900c3c..1613bb4f11 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 -- cgit v1.2.1