From: Michael Chan Date: Mon, 19 Jul 2010 14:15:03 +0000 (+0000) Subject: bnx2: Call pci_enable_msix() with actual number of vectors. X-Git-Tag: v2.6.36-rc1~571^2~159 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=379b39a2ad613745bfbfe80256957d19689b7b94;p=pandora-kernel.git bnx2: Call pci_enable_msix() with actual number of vectors. Based on original patch by Breno Leitão . Allocate the actual number of vectors and make use of fewer vectors if pci_enable_msix() returns > 0. We must allocate one additional vector for the cnic driver. Cc: Breno Leitão Reviewed-by: Benjamin Li Reviewed-by: Matt Carlson Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed