From: Brice Goglin Date: Tue, 23 May 2006 07:05:27 +0000 (-0400) Subject: [PATCH] PCI: AMD 8131 MSI quirk called too late, bus_flags not inherited ? X-Git-Tag: v2.6.18-rc1~1081^2~228^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1edab4a164b229807853682f7ff7858c11dd3481;p=pandora-kernel.git [PATCH] PCI: AMD 8131 MSI quirk called too late, bus_flags not inherited ? The PCI_BUS_FLAGS_NO_MSI bus flags does not appear do be inherited correctly from the amd8131 MSI quirk to its parent busses. It makes devices behind a bridge behind amd8131 try to enable MSI while the amd8131 does not support it. We fix this by looking at flags of all parent busses in pci_enable_msi() and pci_enable_msix(). By the way, also add the missing dev->no_msi check in pci_enable_msix() Signed-off-by: Brice Goglin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed