diff options
author | Minghuan Lian <Minghuan.Lian@freescale.com> | 2015-10-16 15:19:16 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2015-11-02 15:38:38 -0600 |
commit | 7af4ce3571931bdc043c4220402262f817b9b968 (patch) | |
tree | 8e1a7bd1ffc4c1b10d6c8f472c6015eb1901c3a8 /lib/string.c | |
parent | 72f71afb86bcdbf9dc2261214bf346fad4e2efb0 (diff) |
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 'lib/string.c')
0 files changed, 0 insertions, 0 deletions