commit | 7af4ce3571931bdc043c4220402262f817b9b968 | [log] [tgz] |
---|---|---|
author | Minghuan Lian <Minghuan.Lian@freescale.com> | Fri Oct 16 15:19:16 2015 +0800 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Mon Nov 02 15:38:38 2015 -0600 |
tree | 8e1a7bd1ffc4c1b10d6c8f472c6015eb1901c3a8 | |
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>