瀏覽代碼

Merge branch 'remotes/lorenzo/pci/iproc'

  - 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
Bjorn Helgaas 6 年之前
父節點
當前提交
deab1f261c
共有 1 個文件被更改,包括 0 次插入8 次删除
  1. 0 8
      drivers/pci/controller/pcie-iproc.c

+ 0 - 8
drivers/pci/controller/pcie-iproc.c

@@ -630,14 +630,6 @@ static void __iomem *iproc_pcie_map_cfg_bus(struct iproc_pcie *pcie,
 			return (pcie->base + offset);
 			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);
 	return iproc_pcie_map_ep_cfg_reg(pcie, busno, slot, fn, where);
 }
 }