pci-mvebu.c (d3bb94d06aae0f47d492f2999d024d58ce1baea9) | pci-mvebu.c (b64aa11eb2ddb0600361178286d7b7ed5a069fd8) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * PCIe driver for Marvell Armada 370 and Armada XP SoCs 4 * 5 * Author: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 6 */ 7 8#include <linux/kernel.h> --- 1104 unchanged lines hidden (view full) --- 1113 mvebu_pcie_set_local_dev_nr(port, 1); 1114 mvebu_pci_bridge_emul_init(port); 1115 } 1116 1117 pcie->nports = i; 1118 1119 bridge->sysdata = pcie; 1120 bridge->ops = &mvebu_pcie_ops; | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * PCIe driver for Marvell Armada 370 and Armada XP SoCs 4 * 5 * Author: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 6 */ 7 8#include <linux/kernel.h> --- 1104 unchanged lines hidden (view full) --- 1113 mvebu_pcie_set_local_dev_nr(port, 1); 1114 mvebu_pci_bridge_emul_init(port); 1115 } 1116 1117 pcie->nports = i; 1118 1119 bridge->sysdata = pcie; 1120 bridge->ops = &mvebu_pcie_ops; |
1121 bridge->map_irq = of_irq_parse_and_map_pci; 1122 bridge->swizzle_irq = pci_common_swizzle; | |
1123 bridge->align_resource = mvebu_pcie_align_resource; 1124 bridge->msi = pcie->msi; 1125 1126 return mvebu_pci_host_probe(bridge); 1127} 1128 1129static const struct of_device_id mvebu_pcie_of_match_table[] = { 1130 { .compatible = "marvell,armada-xp-pcie", }, --- 21 unchanged lines hidden --- | 1121 bridge->align_resource = mvebu_pcie_align_resource; 1122 bridge->msi = pcie->msi; 1123 1124 return mvebu_pci_host_probe(bridge); 1125} 1126 1127static const struct of_device_id mvebu_pcie_of_match_table[] = { 1128 { .compatible = "marvell,armada-xp-pcie", }, --- 21 unchanged lines hidden --- |