summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2010-07-19 16:15:03 +0200
committerDavid S. Miller <davem@davemloft.net>2010-07-20 05:30:06 +0200
commit379b39a2ad613745bfbfe80256957d19689b7b94 (patch)
treedba8eff16c8a78aa38c5408250fbf001576d323c /ipc
parentbnx2: Use proper counter for net_device_stats->multicast. (diff)
downloadlinux-379b39a2ad613745bfbfe80256957d19689b7b94.tar.xz
linux-379b39a2ad613745bfbfe80256957d19689b7b94.zip
bnx2: Call pci_enable_msix() with actual number of vectors.
Based on original patch by Breno Leitão <leitao@linux.vnet.ibm.com>. 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 <leitao@linux.vnet.ibm.com> Reviewed-by: Benjamin Li <benli@broadcom.com> Reviewed-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions