]> 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)
commit35f8cf1ed62092da442bbd70044fb207c905f7be
treecd7da136ef96ba32f2315df700019a487793e2f6
parentf04dee31c928708ea7f9fa82c3f8ec4680e051c9
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