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/igb.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/igb.h')
-rw-r--r-- | drivers/net/igb/igb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h index 452a4dee87f8..0e0800dc801d 100644 --- a/drivers/net/igb/igb.h +++ b/drivers/net/igb/igb.h | |||
@@ -358,6 +358,7 @@ extern void igb_alloc_rx_buffers_adv(struct igb_ring *, int); | |||
358 | extern void igb_update_stats(struct igb_adapter *); | 358 | extern void igb_update_stats(struct igb_adapter *); |
359 | extern bool igb_has_link(struct igb_adapter *adapter); | 359 | extern bool igb_has_link(struct igb_adapter *adapter); |
360 | extern void igb_set_ethtool_ops(struct net_device *); | 360 | extern void igb_set_ethtool_ops(struct net_device *); |
361 | extern void igb_power_up_link(struct igb_adapter *); | ||
361 | 362 | ||
362 | static inline s32 igb_reset_phy(struct e1000_hw *hw) | 363 | static inline s32 igb_reset_phy(struct e1000_hw *hw) |
363 | { | 364 | { |