Skip to content

Commit

Permalink
bnx2x: fix HW initialization using fw 7.8.x
Browse files Browse the repository at this point in the history
Since commit 96bed4b (use FW 7.8.2) BRB HW block needs to be
initialized using fw values for all devices.
Otherwise ETS on 57712/578xx will not work.

Signed-off-by: Dmitry Kravkov <[email protected]>
Signed-off-by: Ariel Elior <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Dmitry Kravkov authored and davem330 committed Nov 3, 2012
1 parent 2c42a3f commit 2b67404
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6794,8 +6794,9 @@ static int bnx2x_init_hw_port(struct bnx2x *bp)

bnx2x_init_block(bp, BLOCK_DORQ, init_phase);

bnx2x_init_block(bp, BLOCK_BRB1, init_phase);

if (CHIP_IS_E1(bp) || CHIP_IS_E1H(bp)) {
bnx2x_init_block(bp, BLOCK_BRB1, init_phase);

if (IS_MF(bp))
low = ((bp->flags & ONE_PORT_FLAG) ? 160 : 246);
Expand Down

0 comments on commit 2b67404

Please sign in to comment.