aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/e1000_defines.h
diff options
context:
space:
mode:
authorNick Nunley <nicholasx.d.nunley@intel.com>2010-02-16 20:01:59 -0500
committerDavid S. Miller <davem@davemloft.net>2010-02-17 16:21:33 -0500
commit88a268c1a11a2e94b7c55a8cfe97892d845887c8 (patch)
treeb748dcd6491b17376c984145c2dca02165d92547 /drivers/net/igb/e1000_defines.h
parent53c992fa8497286f24f279ebec5a8c7a58d4e68c (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_defines.h')
-rw-r--r--drivers/net/igb/e1000_defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/igb/e1000_defines.h b/drivers/net/igb/e1000_defines.h
index 6e036ae3138f..c01715070764 100644
--- a/drivers/net/igb/e1000_defines.h
+++ b/drivers/net/igb/e1000_defines.h
@@ -481,6 +481,7 @@
481/* PHY Control Register */ 481/* PHY Control Register */
482#define MII_CR_FULL_DUPLEX 0x0100 /* FDX =1, half duplex =0 */ 482#define MII_CR_FULL_DUPLEX 0x0100 /* FDX =1, half duplex =0 */
483#define MII_CR_RESTART_AUTO_NEG 0x0200 /* Restart auto negotiation */ 483#define MII_CR_RESTART_AUTO_NEG 0x0200 /* Restart auto negotiation */
484#define MII_CR_POWER_DOWN 0x0800 /* Power down */
484#define MII_CR_AUTO_NEG_EN 0x1000 /* Auto Neg Enable */ 485#define MII_CR_AUTO_NEG_EN 0x1000 /* Auto Neg Enable */
485#define MII_CR_LOOPBACK 0x4000 /* 0 = normal, 1 = loopback */ 486#define MII_CR_LOOPBACK 0x4000 /* 0 = normal, 1 = loopback */
486#define MII_CR_RESET 0x8000 /* 0 = normal, 1 = PHY reset */ 487#define MII_CR_RESET 0x8000 /* 0 = normal, 1 = PHY reset */