From 379b39a2ad613745bfbfe80256957d19689b7b94 Mon Sep 17 00:00:00 2001 From: Michael Chan Date: Mon, 19 Jul 2010 14:15:03 +0000 Subject: [PATCH] bnx2: Call pci_enable_msix() with actual number of vectors. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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-format-patch failed