Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351703
b: refs/heads/master
c: 84c1bef
h: refs/heads/master
i:
  351701: 0a2a9ca
  351699: 7f8c0e0
  351695: 8df5075
v: v3
  • Loading branch information
Bruce Allan authored and Jeff Kirsher committed Jan 28, 2013
1 parent ae735c4 commit 3eb006c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe90849f76de7cd584e8c6c38b076cd366415994
refs/heads/master: 84c1befe341d71ed1b878afa28bb637a0b459161
20 changes: 1 addition & 19 deletions trunk/drivers/net/ethernet/intel/e1000e/phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

#include "e1000.h"

static s32 e1000_get_phy_cfg_done(struct e1000_hw *hw);
static s32 e1000_wait_autoneg(struct e1000_hw *hw);
static s32 e1000_access_phy_wakeup_reg_bm(struct e1000_hw *hw, u32 offset,
u16 *data, bool read, bool page_set);
Expand Down Expand Up @@ -2165,7 +2164,7 @@ s32 e1000e_phy_hw_reset_generic(struct e1000_hw *hw)

phy->ops.release(hw);

return e1000_get_phy_cfg_done(hw);
return phy->ops.get_cfg_done(hw);
}

/**
Expand Down Expand Up @@ -2265,23 +2264,6 @@ s32 e1000e_phy_init_script_igp3(struct e1000_hw *hw)
return 0;
}

/* Internal function pointers */

/**
* e1000_get_phy_cfg_done - Generic PHY configuration done
* @hw: pointer to the HW structure
*
* Return success if silicon family did not implement a family specific
* get_cfg_done function.
**/
static s32 e1000_get_phy_cfg_done(struct e1000_hw *hw)
{
if (hw->phy.ops.get_cfg_done)
return hw->phy.ops.get_cfg_done(hw);

return 0;
}

/**
* e1000e_get_phy_type_from_id - Get PHY type from id
* @phy_id: phy_id read from the phy
Expand Down

0 comments on commit 3eb006c

Please sign in to comment.