From: Brice Goglin Date: Thu, 31 Aug 2006 05:55:07 +0000 (-0400) Subject: MSI: Factorize common code in pci_msi_supported() X-Git-Tag: v2.6.19-rc1~1004^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24334a12533e9ac70dcb467ccd629f190afc5361;p=pandora-kernel.git MSI: Factorize common code in pci_msi_supported() pci_enable_msi() and pci_enable_msix() use the same code to detect whether MSI might be enabled on this device. Factorize this code in pci_msi_supported(). And improve the documentation about the fact that only the root chipset must support MSI, but it is hard to find the root bus so we check all parent busses MSI flags. Signed-off-by: Brice Goglin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed