Skip to content
Commit d44f7932 authored by Ley Foon Tan's avatar Ley Foon Tan Committed by Tom Rini
Browse files

pci: intel: Fix configuration type based on secondary number



This fix issue when access config from PCIe switch.

The PCIe controller need to send Type 0 config TLP if the targeting bus
matches with the secondary bus number, which is when the TLP is targeting
the immediate device on the link.

The PCIe controller send Type 1 config TLP if the targeting bus is
larger than the secondary bus, which is when the TLP is targeting the
device not immediate on the link.

Signed-off-by: default avatarLey Foon Tan <ley.foon.tan@intel.com>
parent bf9b9813
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment