summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
authorLey Foon Tan <lftan@altera.com>2016-08-26 09:47:25 +0800
committerBjorn Helgaas <bhelgaas@google.com>2016-09-12 16:49:13 -0500
commitce4f1c7ad490aa7129bde5632d6e53943f8a866c (patch)
tree983786b7b3a1a332c0d20497f5cb23ff07ba10f0 /arch
parent31fc0ad47e2e0b8417616aa0f1ddcc67edf1e109 (diff)
downloadlinux-ce4f1c7ad490aa7129bde5632d6e53943f8a866c.tar.gz
PCI: altera: Move retrain from fixup to altera_pcie_host_init()
Previously we used a PCI early fixup to initiate a link retrain on Altera
devices.  But Altera PCIe IP can be configured as either a Root Port or an
Endpoint, and they might have same vendor ID, so the fixup would be run for
both.

We only want to initiate a link retrain for Altera Root Port devices, not
for Endpoints, so move the link retrain functionality from the fixup to
altera_pcie_host_init().

[bhelgaas: changelog]
Signed-off-by: Ley Foon Tan <lftan@altera.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions