aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/bnx2.c')
-rw-r--r--drivers/net/bnx2.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index 48bc57803856..063f28394e3d 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -7141,6 +7141,13 @@ bnx2_change_ring_size(struct bnx2 *bp, u32 rx, u32 tx)
7141 dev_close(bp->dev); 7141 dev_close(bp->dev);
7142 return rc; 7142 return rc;
7143 } 7143 }
7144#ifdef BCM_CNIC
7145 mutex_lock(&bp->cnic_lock);
7146 /* Let cnic know about the new status block. */
7147 if (bp->cnic_eth_dev.drv_state & CNIC_DRV_STATE_REGD)
7148 bnx2_setup_cnic_irq_info(bp);
7149 mutex_unlock(&bp->cnic_lock);
7150#endif
7144 bnx2_netif_start(bp); 7151 bnx2_netif_start(bp);
7145 } 7152 }
7146 return 0; 7153 return 0;