]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Clean up MSI/MSI-X capability #defines
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 17 Apr 2013 23:26:23 +0000 (17:26 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Apr 2013 15:50:30 +0000 (09:50 -0600)
commitca1324984c5c3584875ee2efa1cd266382e516e4
treecd7da136ef96ba32f2315df700019a487793e2f6
parentd02451b4e7082f44f67be74f1ba4c724d6ee2ff8
PCI: Clean up MSI/MSI-X capability #defines

This doesn't change any existing symbols, but it puts them in logical
order and uses explicit masks instead of shifts, like the rest of the
file.

It also adds new symbols for PCI_MSIX_TABLE_BIR,
PCI_MSIX_TABLE_OFFSET, PCI_MSIX_PBA_BIR, and PCI_MSIX_PBA_OFFSET to
replace the mis-named PCI_MSIX_FLAGS_BIRMASK (the BAR index fields
are part of the Table and PBA registers, not the flags register).

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
include/uapi/linux/pci_regs.h