aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ethernet/intel/e1000e/ich8lan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/e1000e/ich8lan.c b/drivers/net/ethernet/intel/e1000e/ich8lan.c
index c80ef41b5fca..e45235ea6126 100644
--- a/drivers/net/ethernet/intel/e1000e/ich8lan.c
+++ b/drivers/net/ethernet/intel/e1000e/ich8lan.c
@@ -2114,7 +2114,7 @@ static s32 e1000_valid_nvm_bank_detect_ich8lan(struct e1000_hw *hw, u32 *bank)
2114 u32 bank1_offset = nvm->flash_bank_size * sizeof(u16); 2114 u32 bank1_offset = nvm->flash_bank_size * sizeof(u16);
2115 u32 act_offset = E1000_ICH_NVM_SIG_WORD * 2 + 1; 2115 u32 act_offset = E1000_ICH_NVM_SIG_WORD * 2 + 1;
2116 u8 sig_byte = 0; 2116 u8 sig_byte = 0;
2117 s32 ret_val = 0; 2117 s32 ret_val;
2118 2118
2119 switch (hw->mac.type) { 2119 switch (hw->mac.type) {
2120 case e1000_ich8lan: 2120 case e1000_ich8lan:
@@ -2268,7 +2268,7 @@ static s32 e1000_flash_cycle_init_ich8lan(struct e1000_hw *hw)
2268 ew16flash(ICH_FLASH_HSFSTS, hsfsts.regval); 2268 ew16flash(ICH_FLASH_HSFSTS, hsfsts.regval);
2269 ret_val = 0; 2269 ret_val = 0;
2270 } else { 2270 } else {
2271 s32 i = 0; 2271 s32 i;
2272 2272
2273 /* 2273 /*
2274 * Otherwise poll for sometime so the current 2274 * Otherwise poll for sometime so the current