diff options
author | Don Skidmore <donald.c.skidmore@intel.com> | 2011-02-18 14:29:46 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-03-03 06:21:15 -0500 |
commit | b60c5dd31b053d008110a80aa4089d64cee60e8f (patch) | |
tree | 87da6af2debb7cd8f06173d738671a2c7bed9db1 /drivers/net/ixgbe | |
parent | c700f4e6f55c42c9aeacf365bd178f97625e00df (diff) |
ixgbe: cleanup X540 PHY reset function pointer
The X540 PHY reset pointer isn't currently used which is a good thing as it
wouldn't work as implemented. On top of that the X540 firmware is written
with the assumption that is does not need to be reset for proper
initialization so it's not needed. I'm just assigning the pointer at NULL
as the current implementation is rather misleading.
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_x540.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_x540.c b/drivers/net/ixgbe/ixgbe_x540.c index a6f06d59a64a..3229398630f6 100644 --- a/drivers/net/ixgbe/ixgbe_x540.c +++ b/drivers/net/ixgbe/ixgbe_x540.c | |||
@@ -712,7 +712,7 @@ static struct ixgbe_phy_operations phy_ops_X540 = { | |||
712 | .identify = &ixgbe_identify_phy_generic, | 712 | .identify = &ixgbe_identify_phy_generic, |
713 | .identify_sfp = &ixgbe_identify_sfp_module_generic, | 713 | .identify_sfp = &ixgbe_identify_sfp_module_generic, |
714 | .init = NULL, | 714 | .init = NULL, |
715 | .reset = &ixgbe_reset_phy_generic, | 715 | .reset = NULL, |
716 | .read_reg = &ixgbe_read_phy_reg_generic, | 716 | .read_reg = &ixgbe_read_phy_reg_generic, |
717 | .write_reg = &ixgbe_write_phy_reg_generic, | 717 | .write_reg = &ixgbe_write_phy_reg_generic, |
718 | .setup_link = &ixgbe_setup_phy_link_generic, | 718 | .setup_link = &ixgbe_setup_phy_link_generic, |