]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
PCI: fix ARI code to be compatible with mixed ARI/non-ARI systems
authorZhao, Yu <yu.zhao@intel.com>
Thu, 23 Oct 2008 05:15:39 +0000 (13:15 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 23 Oct 2008 21:42:13 +0000 (14:42 -0700)
The original ARI support code has a compatibility problem with non-ARI
devices.  If a device doesn't support ARI, turning on ARI forwarding on
its upper level bridge will cause undefined behavior.

This fix turns on ARI forwarding only when the subordinate devices
support it.

Tested-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found