pcie-iproc.c (d3bb94d06aae0f47d492f2999d024d58ce1baea9) pcie-iproc.c (b64aa11eb2ddb0600361178286d7b7ed5a069fd8)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2014 Hauke Mehrtens <hauke@hauke-m.de>
4 * Copyright (C) 2015 Broadcom Corporation
5 */
6
7#include <linux/kernel.h>
8#include <linux/pci.h>

--- 1512 unchanged lines hidden (view full) ---

1521
1522 if (IS_ENABLED(CONFIG_PCI_MSI))
1523 if (iproc_pcie_msi_enable(pcie))
1524 dev_info(dev, "not using iProc MSI\n");
1525
1526 host->ops = &iproc_pcie_ops;
1527 host->sysdata = pcie;
1528 host->map_irq = pcie->map_irq;
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2014 Hauke Mehrtens <hauke@hauke-m.de>
4 * Copyright (C) 2015 Broadcom Corporation
5 */
6
7#include <linux/kernel.h>
8#include <linux/pci.h>

--- 1512 unchanged lines hidden (view full) ---

1521
1522 if (IS_ENABLED(CONFIG_PCI_MSI))
1523 if (iproc_pcie_msi_enable(pcie))
1524 dev_info(dev, "not using iProc MSI\n");
1525
1526 host->ops = &iproc_pcie_ops;
1527 host->sysdata = pcie;
1528 host->map_irq = pcie->map_irq;
1529 host->swizzle_irq = pci_common_swizzle;
1530
1531 ret = pci_host_probe(host);
1532 if (ret < 0) {
1533 dev_err(dev, "failed to scan host: %d\n", ret);
1534 goto err_power_off_phy;
1535 }
1536
1537 return 0;

--- 70 unchanged lines hidden ---
1529
1530 ret = pci_host_probe(host);
1531 if (ret < 0) {
1532 dev_err(dev, "failed to scan host: %d\n", ret);
1533 goto err_power_off_phy;
1534 }
1535
1536 return 0;

--- 70 unchanged lines hidden ---