aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
index 0546cf4f762e..04b9f0ab183b 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
@@ -6804,8 +6804,9 @@ static int bnx2x_init_hw_port(struct bnx2x *bp)
6804 6804
6805 bnx2x_init_block(bp, BLOCK_DORQ, init_phase); 6805 bnx2x_init_block(bp, BLOCK_DORQ, init_phase);
6806 6806
6807 bnx2x_init_block(bp, BLOCK_BRB1, init_phase);
6808
6807 if (CHIP_IS_E1(bp) || CHIP_IS_E1H(bp)) { 6809 if (CHIP_IS_E1(bp) || CHIP_IS_E1H(bp)) {
6808 bnx2x_init_block(bp, BLOCK_BRB1, init_phase);
6809 6810
6810 if (IS_MF(bp)) 6811 if (IS_MF(bp))
6811 low = ((bp->flags & ONE_PORT_FLAG) ? 160 : 246); 6812 low = ((bp->flags & ONE_PORT_FLAG) ? 160 : 246);
@@ -12069,6 +12070,16 @@ static int __devinit bnx2x_init_one(struct pci_dev *pdev,
12069 if (CHIP_IS_E1x(bp)) 12070 if (CHIP_IS_E1x(bp))
12070 bp->flags |= NO_FCOE_FLAG; 12071 bp->flags |= NO_FCOE_FLAG;
12071 12072
12073 /* disable FCOE for 57840 device, until FW supports it */
12074 switch (ent->driver_data) {
12075 case BCM57840_O:
12076 case BCM57840_4_10:
12077 case BCM57840_2_20:
12078 case BCM57840_MFO:
12079 case BCM57840_MF:
12080 bp->flags |= NO_FCOE_FLAG;
12081 }
12082
12072 /* Set bp->num_queues for MSI-X mode*/ 12083 /* Set bp->num_queues for MSI-X mode*/
12073 bnx2x_set_num_queues(bp); 12084 bnx2x_set_num_queues(bp);
12074 12085