diff options
author | Minghuan Lian <Minghuan.Lian@freescale.com> | 2015-10-16 09:19:16 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-11-02 22:38:38 +0100 |
commit | 7af4ce3571931bdc043c4220402262f817b9b968 (patch) | |
tree | 8e1a7bd1ffc4c1b10d6c8f472c6015eb1901c3a8 /drivers/pci/access.c | |
parent | PCI: layerscape: Remove ls_pcie_establish_link() (diff) | |
download | linux-7af4ce3571931bdc043c4220402262f817b9b968.tar.xz linux-7af4ce3571931bdc043c4220402262f817b9b968.zip |
PCI: layerscape: Ignore PCIe controllers in Endpoint mode
Layerscape PCIe controller supports root complex (RC) and endpoint (EP)
modes, which can be set by RCW.
If not in RC mode, return -ENODEV without claiming the controller.
Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/access.c')
0 files changed, 0 insertions, 0 deletions