e1000e: cleanup: rename e1000_get_cfg_done()
authorBruce Allan <bruce.w.allan@intel.com>
Sat, 5 Jan 2013 08:06:14 +0000 (08:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 28 Jan 2013 05:48:28 +0000 (21:48 -0800)
In keeping with the e1000e driver function naming convention, the subject
function is renamed to indicate it is generic, i.e. it is applicable to
more than just a single MAC family (e.g. 80003es2lan, 82571, ich8lan).

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/82571.c
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/intel/e1000e/ich8lan.c
drivers/net/ethernet/intel/e1000e/phy.c

index 0f55d79afe39f394e6ee9b903eca3251fc08fd6b..076938c87a26030cdc2601866516892d4be749c1 100644 (file)
@@ -1940,7 +1940,7 @@ static const struct e1000_phy_operations e82_phy_ops_m88 = {
        .check_reset_block      = e1000e_check_reset_block_generic,
        .commit                 = e1000e_phy_sw_reset,
        .force_speed_duplex     = e1000e_phy_force_speed_duplex_m88,
-       .get_cfg_done           = e1000e_get_cfg_done,
+       .get_cfg_done           = e1000e_get_cfg_done_generic,
        .get_cable_length       = e1000e_get_cable_length_m88,
        .get_info               = e1000e_get_phy_info_m88,
        .read_reg               = e1000e_read_phy_reg_m88,
@@ -1958,7 +1958,7 @@ static const struct e1000_phy_operations e82_phy_ops_bm = {
        .check_reset_block      = e1000e_check_reset_block_generic,
        .commit                 = e1000e_phy_sw_reset,
        .force_speed_duplex     = e1000e_phy_force_speed_duplex_m88,
-       .get_cfg_done           = e1000e_get_cfg_done,
+       .get_cfg_done           = e1000e_get_cfg_done_generic,
        .get_cable_length       = e1000e_get_cable_length_m88,
        .get_info               = e1000e_get_phy_info_m88,
        .read_reg               = e1000e_read_phy_reg_bm2,
index e6b94835291efc4b16a88b9da7d6a5fbfca21a38..115656e1dc46c5606593ccb01e3781f77a1a8074 100644 (file)
@@ -654,7 +654,7 @@ extern s32 e1000e_write_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset,
                                            u16 data);
 extern s32 e1000e_phy_sw_reset(struct e1000_hw *hw);
 extern s32 e1000e_phy_force_speed_duplex_m88(struct e1000_hw *hw);
-extern s32 e1000e_get_cfg_done(struct e1000_hw *hw);
+extern s32 e1000e_get_cfg_done_generic(struct e1000_hw *hw);
 extern s32 e1000e_get_cable_length_m88(struct e1000_hw *hw);
 extern s32 e1000e_get_phy_info_m88(struct e1000_hw *hw);
 extern s32 e1000e_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data);
index 87676b652edc3877a9b5223d1d00fdf7c6c70ff5..edd5996b897a1b6ea5ac8a0f3fd47a48744d0417 100644 (file)
@@ -4378,7 +4378,7 @@ static s32 e1000_get_cfg_done_ich8lan(struct e1000_hw *hw)
        u32 bank = 0;
        u32 status;
 
-       e1000e_get_cfg_done(hw);
+       e1000e_get_cfg_done_generic(hw);
 
        /* Wait for indication from h/w that it has completed basic config */
        if (hw->mac.type >= e1000_ich10lan) {
index 81fba6cfb3a483ce77fa6009dc22a5b80d94bdde..37a85d4bb7d09888555693c5974f02caa44c57a8 100644 (file)
@@ -2169,13 +2169,13 @@ s32 e1000e_phy_hw_reset_generic(struct e1000_hw *hw)
 }
 
 /**
- *  e1000e_get_cfg_done - Generic configuration done
+ *  e1000e_get_cfg_done_generic - Generic configuration done
  *  @hw: pointer to the HW structure
  *
  *  Generic function to wait 10 milli-seconds for configuration to complete
  *  and return success.
  **/
-s32 e1000e_get_cfg_done(struct e1000_hw *hw)
+s32 e1000e_get_cfg_done_generic(struct e1000_hw *hw)
 {
        mdelay(10);