diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/cxgb3/t3_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/t3_hw.c b/drivers/net/cxgb3/t3_hw.c index d307c9de59fb..421d5589cecd 100644 --- a/drivers/net/cxgb3/t3_hw.c +++ b/drivers/net/cxgb3/t3_hw.c | |||
@@ -3683,7 +3683,7 @@ static void mc7_prep(struct adapter *adapter, struct mc7 *mc7, | |||
3683 | mc7->name = name; | 3683 | mc7->name = name; |
3684 | mc7->offset = base_addr - MC7_PMRX_BASE_ADDR; | 3684 | mc7->offset = base_addr - MC7_PMRX_BASE_ADDR; |
3685 | cfg = t3_read_reg(adapter, mc7->offset + A_MC7_CFG); | 3685 | cfg = t3_read_reg(adapter, mc7->offset + A_MC7_CFG); |
3686 | mc7->size = mc7->size = G_DEN(cfg) == M_DEN ? 0 : mc7_calc_size(cfg); | 3686 | mc7->size = G_DEN(cfg) == M_DEN ? 0 : mc7_calc_size(cfg); |
3687 | mc7->width = G_WIDTH(cfg); | 3687 | mc7->width = G_WIDTH(cfg); |
3688 | } | 3688 | } |
3689 | 3689 | ||