Skip to content

Commit

Permalink
Merge branch 'remotes/lorenzo/pci/iproc'
Browse files Browse the repository at this point in the history
  - Remove iproc PAXC slot check to allow VF support (Jitendra Bhivare)

* remotes/lorenzo/pci/iproc:
  PCI: iproc: Remove PAXC slot check to allow VF support
  • Loading branch information
Bjorn Helgaas committed Oct 20, 2018
2 parents 525fde0 + 4da6b44 commit deab1f2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/pci/controller/pcie-iproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,14 +630,6 @@ static void __iomem *iproc_pcie_map_cfg_bus(struct iproc_pcie *pcie,
return (pcie->base + offset);
}

/*
* PAXC is connected to an internally emulated EP within the SoC. It
* allows only one device.
*/
if (pcie->ep_is_internal)
if (slot > 0)
return NULL;

return iproc_pcie_map_ep_cfg_reg(pcie, busno, slot, fn, where);
}

Expand Down

0 comments on commit deab1f2

Please sign in to comment.