diff options
author | Don Skidmore <donald.c.skidmore@intel.com> | 2010-11-16 22:27:15 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2010-11-16 22:27:15 -0500 |
commit | a391f1d51244b8274920a33c5d11aeebec3aa68f (patch) | |
tree | f550a62c357a6f63ee0dc7b77432d7c681663688 /drivers/net/ixgbe/ixgbe_phy.h | |
parent | 9b55bb038468a7b504ccdc1d956952598ae1b85b (diff) |
ixgbe: make silicon specific functions generic
The new MAC type X540 shares much of the same functionality of
some silicon specific functions. To reduce duplicate code,
made these functions generic.
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/ixgbe_phy.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_phy.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_phy.h b/drivers/net/ixgbe/ixgbe_phy.h index fb3898f12fc5..86f83bd130cb 100644 --- a/drivers/net/ixgbe/ixgbe_phy.h +++ b/drivers/net/ixgbe/ixgbe_phy.h | |||
@@ -96,6 +96,9 @@ s32 ixgbe_setup_phy_link_speed_generic(struct ixgbe_hw *hw, | |||
96 | ixgbe_link_speed speed, | 96 | ixgbe_link_speed speed, |
97 | bool autoneg, | 97 | bool autoneg, |
98 | bool autoneg_wait_to_complete); | 98 | bool autoneg_wait_to_complete); |
99 | s32 ixgbe_get_copper_link_capabilities_generic(struct ixgbe_hw *hw, | ||
100 | ixgbe_link_speed *speed, | ||
101 | bool *autoneg); | ||
99 | 102 | ||
100 | /* PHY specific */ | 103 | /* PHY specific */ |
101 | s32 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, | 104 | s32 ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, |