]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/pci_regs.h
[PATCH] msi: sanely support hardware level msi disabling
[karo-tx-linux.git] / include / linux / pci_regs.h
index 7a6d34ee5ab132593c2efce4000edd3bb3af3408..f09cce2357ff47e53183cdd3f09a39f1a51a05f5 100644 (file)
 #define PCI_MSI_DATA_64                12      /* 16 bits of data for 64-bit devices */
 #define PCI_MSI_MASK_BIT       16      /* Mask bits register */
 
-/* MSI-X registers (these are at offset PCI_MSI_FLAGS) */
-#define PCI_MSIX_FLAGS_QSIZE   0x7FF
-#define PCI_MSIX_FLAGS_ENABLE  (1 << 15)
+/* MSI-X registers (these are at offset PCI_MSIX_FLAGS) */
+#define PCI_MSIX_FLAGS         2
+#define  PCI_MSIX_FLAGS_QSIZE  0x7FF
+#define  PCI_MSIX_FLAGS_ENABLE (1 << 15)
 #define PCI_MSIX_FLAGS_BIRMASK (7 << 0)
 #define PCI_MSIX_FLAGS_BITMASK (1 << 0)