From: Matthew Wilcox Date: Wed, 1 Jul 2009 21:24:30 +0000 (-0700) Subject: PCI: Fix IRQ swizzling for ARI-enabled devices X-Git-Tag: v2.6.31-rc3~71^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46b952a3c3a94afa339bd4961a4f3d1482436599;p=pandora-kernel.git PCI: Fix IRQ swizzling for ARI-enabled devices For many purposes, including interrupt-swizzling, devices with ARI enabled behave as if they have one device (number 0) and 256 functions. This probably hasn't bitten us in practice because all ARI devices I've seen are also IOV devices, and IOV devices are required to use MSI. This isn't guaranteed, and there are legitimate reasons to use ARI without IOV, and hence potentially use pin-based interrupts. Signed-off-by: Matthew Wilcox Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed