diff options
| author | Krzysztof Wilczyński <[email protected]> | 2020-11-29 23:07:41 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2020-12-10 20:56:03 +0000 |
| commit | 63eab4944e4f33f69a6a72427490c4d5f8d3f072 (patch) | |
| tree | 03698bcd3430b3887d0da61a3b9a86267fb3e7ea /drivers/pci/controller/vmd.c | |
| parent | PCI: thunder-pem: Add constant for custom ".bus_shift" initialiser (diff) | |
| download | kernel-63eab4944e4f33f69a6a72427490c4d5f8d3f072.tar.gz kernel-63eab4944e4f33f69a6a72427490c4d5f8d3f072.zip | |
PCI: iproc: Convert to use the new ECAM constants
Change interface of the function iproc_pcie_map_ep_cfg_reg() so that use
of PCI_SLOT() and PCI_FUNC() macros and most of the local ECAM-specific
constants can be dropped, and the new PCIE_ECAM_OFFSET() macro can be
used instead. Use the ALIGN_DOWN() macro to ensure that PCI Express
ECAM offset is always 32 bit aligned.
Suggested-by: Bjorn Helgaas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/pci/controller/vmd.c')
0 files changed, 0 insertions, 0 deletions
