diff options
author | Ley Foon Tan <ley.foon.tan@intel.com> | 2019-06-12 14:42:00 +0800 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2019-06-17 12:22:25 +0100 |
commit | 7a28db0a251ebc932a37f53a74c76e067aaac542 (patch) | |
tree | 9132488885cecfff7f4c48c2c4b55a4f4452de56 /drivers/pci/controller/dwc | |
parent | c7ddfd3514f2702a70e9ff86504cafa856dd16b2 (diff) | |
download | linux-7a28db0a251ebc932a37f53a74c76e067aaac542.tar.bz2 |
PCI: altera: Fix configuration type based on secondary number
Stratix 10 PCIe controller does not support Type 1 to Type 0 conversion
as previous version (V1) does so the PCIe controller configuration
mechanism needs to send Type 0 config TLP if the target bus number
matches with the secondary bus number.
Implement a function to form a TLP header that depends on the PCIe
controller version, so that the header can be formed according to
specific host controller HW internals, fixing the type conversion issue.
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
[lorenzo.pieralisi@arm.com: commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions