diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-03 16:43:21 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-03 16:43:21 +0200 |
commit | 930ffc03fabf183f1e3309619aaa24869779bffa (patch) | |
tree | 50b229bd34594e85ea4385515bd1200fbf22bb06 /drivers/pci/host/pcie-xilinx.c | |
parent | Merge branch 'pci/resource' into next (diff) | |
parent | PCI: xilinx: Relax device number checking to allow SR-IOV (diff) | |
download | linux-930ffc03fabf183f1e3309619aaa24869779bffa.tar.xz linux-930ffc03fabf183f1e3309619aaa24869779bffa.zip |
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-xilinx.c')
-rw-r--r-- | drivers/pci/host/pcie-xilinx.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/pci/host/pcie-xilinx.c b/drivers/pci/host/pcie-xilinx.c index 7b7dbd22bccc..0205662720cb 100644 --- a/drivers/pci/host/pcie-xilinx.c +++ b/drivers/pci/host/pcie-xilinx.c @@ -168,13 +168,6 @@ static bool xilinx_pcie_valid_device(struct pci_bus *bus, unsigned int devfn) if (bus->number == port->root_busno && devfn > 0) return false; - /* - * Do not read more than one device on the bus directly attached - * to RC. - */ - if (bus->primary == port->root_busno && devfn > 0) - return false; - return true; } |