summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2010-07-03 20:42:15 +0000
committerDavid S. Miller <davem@davemloft.net>2010-07-04 11:43:59 -0700
commit3d5f3a7bbd06065b06c7f65f948437ded40255ec (patch)
tree643673db7b7ff0c6223bca0b4df46583bf1759d9 /drivers/net/bnx2.c
parentf45f4321d2c977c9eff77e5a5225f3cd2140eb20 (diff)
downloadop-kernel-dev-3d5f3a7bbd06065b06c7f65f948437ded40255ec.zip
op-kernel-dev-3d5f3a7bbd06065b06c7f65f948437ded40255ec.tar.gz
bnx2: Always enable MSI-X on 5709.
Minor change to use MSI-X even if there is only one CPU. This allows the CNIC driver to always have a dedicated MSI-X vector to handle iSCSI events, instead of sharing the MSI vector. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.c')
-rw-r--r--drivers/net/bnx2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index a5dd81f..0614ca0 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -6185,7 +6185,7 @@ bnx2_setup_int_mode(struct bnx2 *bp, int dis_msi)
bp->irq_nvecs = 1;
bp->irq_tbl[0].vector = bp->pdev->irq;
- if ((bp->flags & BNX2_FLAG_MSIX_CAP) && !dis_msi && cpus > 1)
+ if ((bp->flags & BNX2_FLAG_MSIX_CAP) && !dis_msi)
bnx2_enable_msix(bp, msix_vecs);
if ((bp->flags & BNX2_FLAG_MSI_CAP) && !dis_msi &&
OpenPOWER on IntegriCloud