From: Michael S. Tsirkin Date: Thu, 7 May 2009 08:28:41 +0000 (+0300) Subject: PCI MSI: let drivers retry when not enough vectors X-Git-Tag: v2.6.31-rc1~62^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57fbf52c86addd8e25d1975fac0d59d982d1f6ec;p=pandora-kernel.git PCI MSI: let drivers retry when not enough vectors pci_enable_msix currently returns -EINVAL if you ask for more vectors than supported by the device, which would typically cause fallback to regular interrupts. It's better to return the table size, making the driver retry MSI-X with less vectors. Reviewed-by: Matthew Wilcox Signed-off-by: Michael S. Tsirkin Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed