commit | 09cac05097535015f0a0d64c051f17fd8c65c6bb | [log] [tgz] |
---|---|---|
author | Shawn Lin <shawn.lin@rock-chips.com> | Thu May 04 10:24:51 2017 +0800 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Sun Jul 02 18:45:56 2017 -0500 |
tree | 2c465ba13f9d16494c68cbeee03fa9f9a53a7a58 | |
parent | 5667e655e1c77e0dec3f146a0d2484818583a800 [diff] |
PCI: rockchip: Reconfigure configuration space header type Per PCIe base specification (Revision 3.1a), section 7.5.3, type 1 configuration space header should be used when accessing PCIe switch. So we need to reconfigure the header according to the bus number we are accessing. Otherwise we could not visit the buses behind the switch. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>