summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2015-05-21 09:05:04 +0200
committerBjorn Helgaas <bhelgaas@google.com>2015-05-29 22:35:26 +0200
commit777e61ea40e4a94081b3123c76ea3fe977c368a2 (patch)
tree69f6230aa9f5a8213f3bd0445d6c33251c906aec /drivers/pci/pci.c
parentPCI/ASPM: Use dev->has_secondary_link to find downstream links (diff)
downloadlinux-777e61ea40e4a94081b3123c76ea3fe977c368a2.tar.xz
linux-777e61ea40e4a94081b3123c76ea3fe977c368a2.zip
PCI: Use dev->has_secondary_link to find downstream PCIe links
Previously we assumed that PCIe Root Ports and Downstream Ports had Links on their secondary side. That is true in most systems, but it is possible to connect a switch with either an Upstream or a Downstream Port leading downstream. Instead of relying on the component type to identify devices that have links leading downstream, use the "dev->has_secondary_link" field. [bhelgaas: changelog] Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci.c')
0 files changed, 0 insertions, 0 deletions