From: Jacob Keller Date: Wed, 31 Jul 2013 06:53:26 +0000 (+0000) Subject: PCI: Add function to obtain minimum link width and speed X-Git-Tag: v3.12-rc1~132^2~416^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81377c8d3563e7aec5c8baaaacacb48034f430a0;p=pandora-kernel.git PCI: Add function to obtain minimum link width and speed A PCI Express device can potentially report a link width and speed which it will not properly fulfill due to being plugged into a slower link higher in the chain. This function walks up the PCI bus chain and calculates the minimum link width and speed of this entire chain. This can be useful to enable a device to determine if it has enough bandwidth for optimum functionality. Signed-off-by: Jacob Keller Tested-by: Phil Schmitt Acked-by: Bjorn Helgaas Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed