diff options
author | Todd Fujinaka <todd.fujinaka@intel.com> | 2015-09-02 16:54:20 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-12-12 23:09:43 -0800 |
commit | 18f7ce5412027232890143ccfae23668d0872d27 (patch) | |
tree | 2889bcf4bae94fd7366855f9b64b232e7c18caab /drivers/net/ethernet/intel/igb/e1000_82575.c | |
parent | e09b89069ff9e3877bdbca8e64da05cde88bc3a2 (diff) | |
download | talos-obmc-linux-18f7ce5412027232890143ccfae23668d0872d27.tar.gz talos-obmc-linux-18f7ce5412027232890143ccfae23668d0872d27.zip |
igb: add 88E1543 initialization code
Initialize the 88E1543 PHY.
Signed-off-by: Todd Fujinaka <todd.fujinaka@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/e1000_82575.c')
-rw-r--r-- | drivers/net/ethernet/intel/igb/e1000_82575.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igb/e1000_82575.c b/drivers/net/ethernet/intel/igb/e1000_82575.c index 7a73510e547c..d9664c47fe3a 100644 --- a/drivers/net/ethernet/intel/igb/e1000_82575.c +++ b/drivers/net/ethernet/intel/igb/e1000_82575.c @@ -272,6 +272,11 @@ static s32 igb_init_phy_params_82575(struct e1000_hw *hw) if (ret_val) goto out; } + if (phy->id == M88E1543_E_PHY_ID) { + ret_val = igb_initialize_M88E1543_phy(hw); + if (ret_val) + goto out; + } break; case IGP03E1000_E_PHY_ID: phy->type = e1000_phy_igp_3; @@ -925,6 +930,8 @@ static s32 igb_phy_hw_reset_sgmii_82575(struct e1000_hw *hw) if (phy->id == M88E1512_E_PHY_ID) ret_val = igb_initialize_M88E1512_phy(hw); + if (phy->id == M88E1543_E_PHY_ID) + ret_val = igb_initialize_M88E1543_phy(hw); out: return ret_val; } |