diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2010-05-27 14:40:37 +0900 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-05-31 16:33:52 +0300 |
commit | 1b4e8f732d118d1bd64c49e3c9d90832f8214272 (patch) | |
tree | e884dd5a8a958e88cac7c4d9a99a734187e88b1c /hw | |
parent | 0c6fcb62100d5ed0819963b2b20879b1e61691db (diff) |
msix: remove duplicated defines.
remove defines which are already defined in pci_regs.h
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/msix.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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 |