diff options
author | Nick Nunley <nicholasx.d.nunley@intel.com> | 2010-02-16 20:01:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-17 16:21:33 -0500 |
commit | 88a268c1a11a2e94b7c55a8cfe97892d845887c8 (patch) | |
tree | b748dcd6491b17376c984145c2dca02165d92547 /drivers/net/igb/e1000_phy.h | |
parent | 53c992fa8497286f24f279ebec5a8c7a58d4e68c (diff) |
igb: Power down link when interface is down
This changes the behavior of the driver to power down the link
when the associated interface is down, unless management is enabled.
Signed-off-by: Nicholas Nunley <nicholasx.d.nunley@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/e1000_phy.h')
-rw-r--r-- | drivers/net/igb/e1000_phy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/igb/e1000_phy.h b/drivers/net/igb/e1000_phy.h index 555eb54bb6ed..565a6dbb3714 100644 --- a/drivers/net/igb/e1000_phy.h +++ b/drivers/net/igb/e1000_phy.h | |||
@@ -60,6 +60,8 @@ s32 igb_setup_copper_link(struct e1000_hw *hw); | |||
60 | s32 igb_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data); | 60 | s32 igb_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data); |
61 | s32 igb_phy_has_link(struct e1000_hw *hw, u32 iterations, | 61 | s32 igb_phy_has_link(struct e1000_hw *hw, u32 iterations, |
62 | u32 usec_interval, bool *success); | 62 | u32 usec_interval, bool *success); |
63 | void igb_power_up_phy_copper(struct e1000_hw *hw); | ||
64 | void igb_power_down_phy_copper(struct e1000_hw *hw); | ||
63 | s32 igb_phy_init_script_igp3(struct e1000_hw *hw); | 65 | s32 igb_phy_init_script_igp3(struct e1000_hw *hw); |
64 | s32 igb_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data); | 66 | s32 igb_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data); |
65 | s32 igb_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data); | 67 | s32 igb_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data); |