aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/e1000e/phy.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/phy.c')
-rw-r--r--drivers/net/ethernet/intel/e1000e/phy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/e1000e/phy.c b/drivers/net/ethernet/intel/e1000e/phy.c
index d4dbbe741246..683abac4a049 100644
--- a/drivers/net/ethernet/intel/e1000e/phy.c
+++ b/drivers/net/ethernet/intel/e1000e/phy.c
@@ -1181,7 +1181,7 @@ s32 e1000e_setup_copper_link(struct e1000_hw *hw)
1181 1181
1182 if (link) { 1182 if (link) {
1183 e_dbg("Valid link established!!!\n"); 1183 e_dbg("Valid link established!!!\n");
1184 e1000e_config_collision_dist(hw); 1184 hw->mac.ops.config_collision_dist(hw);
1185 ret_val = e1000e_config_fc_after_link_up(hw); 1185 ret_val = e1000e_config_fc_after_link_up(hw);
1186 } else { 1186 } else {
1187 e_dbg("Unable to establish link!!!\n"); 1187 e_dbg("Unable to establish link!!!\n");
@@ -1489,7 +1489,7 @@ void e1000e_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl)
1489 e_dbg("Forcing 10mb\n"); 1489 e_dbg("Forcing 10mb\n");
1490 } 1490 }
1491 1491
1492 e1000e_config_collision_dist(hw); 1492 hw->mac.ops.config_collision_dist(hw);
1493 1493
1494 ew32(CTRL, ctrl); 1494 ew32(CTRL, ctrl);
1495} 1495}
@@ -2133,7 +2133,7 @@ s32 e1000e_phy_hw_reset_generic(struct e1000_hw *hw)
2133 s32 ret_val; 2133 s32 ret_val;
2134 u32 ctrl; 2134 u32 ctrl;
2135 2135
2136 ret_val = e1000_check_reset_block(hw); 2136 ret_val = phy->ops.check_reset_block(hw);
2137 if (ret_val) 2137 if (ret_val)
2138 return 0; 2138 return 0;
2139 2139