aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSheng Yang <sheng@linux.intel.com>2010-11-11 02:46:55 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-12-23 15:53:08 -0500
commit8d805286968811223cca002134ba3d81244d5313 (patch)
treed67154a6c21d9b0c9b71a9cf7bfc4e636737e73e /include
parent00aaaef9a51a1a25c5d6d52ce510772f149a0eb0 (diff)
PCI: Add mask bit definition for MSI-X table
Then we can use it instead of magic number 1. Reviewed-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> Cc: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Sheng Yang <sheng@linux.intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci_regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci_regs.h b/include/linux/pci_regs.h
index b21d33e4bc2a..d4f2c80a6c3e 100644
--- a/include/linux/pci_regs.h
+++ b/include/linux/pci_regs.h
@@ -315,6 +315,7 @@
315#define PCI_MSIX_ENTRY_UPPER_ADDR 4 315#define PCI_MSIX_ENTRY_UPPER_ADDR 4
316#define PCI_MSIX_ENTRY_DATA 8 316#define PCI_MSIX_ENTRY_DATA 8
317#define PCI_MSIX_ENTRY_VECTOR_CTRL 12 317#define PCI_MSIX_ENTRY_VECTOR_CTRL 12
318#define PCI_MSIX_ENTRY_CTRL_MASKBIT 1
318 319
319/* CompactPCI Hotswap Register */ 320/* CompactPCI Hotswap Register */
320 321