diff options
author | Sheng Yang <sheng@linux.intel.com> | 2010-11-11 02:46:54 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-12-23 15:53:07 -0500 |
commit | 00aaaef9a51a1a25c5d6d52ce510772f149a0eb0 (patch) | |
tree | f246945c2356f456d040a56bf8b57d36be34df9d /include | |
parent | 994e0b2c3646ce0ca0e4546e6b10c5cf66b976bf (diff) |
PCI: MSI: Move MSI-X entry definition to pci_regs.h
Then it can be used by others.
Reviewed-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Reviewed-by: 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.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/pci_regs.h b/include/linux/pci_regs.h index af83076c31a6..b21d33e4bc2a 100644 --- a/include/linux/pci_regs.h +++ b/include/linux/pci_regs.h | |||
@@ -309,6 +309,13 @@ | |||
309 | #define PCI_MSIX_PBA 8 | 309 | #define PCI_MSIX_PBA 8 |
310 | #define PCI_MSIX_FLAGS_BIRMASK (7 << 0) | 310 | #define PCI_MSIX_FLAGS_BIRMASK (7 << 0) |
311 | 311 | ||
312 | /* MSI-X entry's format */ | ||
313 | #define PCI_MSIX_ENTRY_SIZE 16 | ||
314 | #define PCI_MSIX_ENTRY_LOWER_ADDR 0 | ||
315 | #define PCI_MSIX_ENTRY_UPPER_ADDR 4 | ||
316 | #define PCI_MSIX_ENTRY_DATA 8 | ||
317 | #define PCI_MSIX_ENTRY_VECTOR_CTRL 12 | ||
318 | |||
312 | /* CompactPCI Hotswap Register */ | 319 | /* CompactPCI Hotswap Register */ |
313 | 320 | ||
314 | #define PCI_CHSWP_CSR 2 /* Control and Status Register */ | 321 | #define PCI_CHSWP_CSR 2 /* Control and Status Register */ |