diff options
Diffstat (limited to 'drivers/net/e1000e/ich8lan.c')
-rw-r--r-- | drivers/net/e1000e/ich8lan.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/e1000e/ich8lan.c b/drivers/net/e1000e/ich8lan.c index 1ce2bf97fa37..6efb77fbbd70 100644 --- a/drivers/net/e1000e/ich8lan.c +++ b/drivers/net/e1000e/ich8lan.c | |||
@@ -314,8 +314,10 @@ static s32 e1000_init_phy_params_ich8lan(struct e1000_hw *hw) | |||
314 | phy->ops.write_reg = e1000e_write_phy_reg_bm; | 314 | phy->ops.write_reg = e1000e_write_phy_reg_bm; |
315 | phy->ops.read_reg = e1000e_read_phy_reg_bm; | 315 | phy->ops.read_reg = e1000e_read_phy_reg_bm; |
316 | ret_val = e1000e_determine_phy_address(hw); | 316 | ret_val = e1000e_determine_phy_address(hw); |
317 | if (ret_val) | 317 | if (ret_val) { |
318 | e_dbg("Cannot determine PHY addr. Erroring out\n"); | ||
318 | return ret_val; | 319 | return ret_val; |
320 | } | ||
319 | } | 321 | } |
320 | 322 | ||
321 | phy->id = 0; | 323 | phy->id = 0; |