]> git.karo-electronics.de Git - karo-tx-linux.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)
commit24bc69da32a93edac91b4dfb7806a7fb9c24c625
treecd7da136ef96ba32f2315df700019a487793e2f6
parent520fe9dc1b07827d795578037ffd11190767e448
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