diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-03 09:43:21 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-03 09:43:21 -0500 |
commit | 930ffc03fabf183f1e3309619aaa24869779bffa (patch) | |
tree | 50b229bd34594e85ea4385515bd1200fbf22bb06 /drivers/pci/host/pcie-altera.c | |
parent | e15194d2a726b7201878d17ee87fa80d89aaabf4 (diff) | |
parent | 8e7ca8ca5fd8a3242289105723c429733be8b73b (diff) | |
download | linux-930ffc03fabf183f1e3309619aaa24869779bffa.tar.bz2 |
Merge branch 'pci/virtualization' into next
* pci/virtualization:
PCI: xilinx: Relax device number checking to allow SR-IOV
PCI: designware: Relax device number checking to allow SR-IOV
PCI: altera: Relax device number checking to allow SR-IOV
PCI: Check for pci_setup_device() failure in pci_iov_add_virtfn()
PCI: Mark Atheros AR9580 to avoid bus reset
Diffstat (limited to 'drivers/pci/host/pcie-altera.c')
-rw-r--r-- | drivers/pci/host/pcie-altera.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/pci/host/pcie-altera.c b/drivers/pci/host/pcie-altera.c index 48f2736a10cd..b3320ae06111 100644 --- a/drivers/pci/host/pcie-altera.c +++ b/drivers/pci/host/pcie-altera.c @@ -174,13 +174,6 @@ static bool altera_pcie_valid_config(struct altera_pcie *pcie, if (bus->number == pcie->root_bus_nr && dev > 0) return false; - /* - * Do not read more than one device on the bus directly attached - * to root port, root port can only attach to one downstream port. - */ - if (bus->primary == pcie->root_bus_nr && dev > 0) - return false; - return true; } |