summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2012-05-09 13:14:36 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2012-05-09 13:14:36 +0000
commitddab7ed68f8fde5836d61316b54e6ed076d36c12 (patch)
treee9235a102bc41da78c6ee94b123f0e4ec686997e /sys/dev
parentdf199b2d76b5974f799c00e0408a3b3e3032f454 (diff)
The 8168D chipset needs to have the PHY wake PM flag set to ensure
the PHY is woken up upon attachment. From FreeBSD via Brad.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/re.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c
index f5c100ed648..5264b33a2cd 100644
--- a/sys/dev/ic/re.c
+++ b/sys/dev/ic/re.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: re.c,v 1.137 2012/04/08 08:34:55 jsg Exp $ */
+/* $OpenBSD: re.c,v 1.138 2012/05/09 13:14:35 jsg Exp $ */
/* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -862,7 +862,6 @@ re_attach(struct rl_softc *sc, const char *intrstr)
/* FALLTHROUGH */
case RL_HWREV_8168C:
case RL_HWREV_8168CP:
- case RL_HWREV_8168D:
case RL_HWREV_8168DP:
sc->rl_flags |= RL_FLAG_INVMAR | RL_FLAG_PHYWAKE |
RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT |
@@ -879,6 +878,7 @@ re_attach(struct rl_softc *sc, const char *intrstr)
*/
sc->rl_flags |= RL_FLAG_NOJUMBO;
break;
+ case RL_HWREV_8168D:
case RL_HWREV_8168E:
sc->rl_flags |= RL_FLAG_INVMAR | RL_FLAG_PHYWAKE |
RL_FLAG_PHYWAKE_PM | RL_FLAG_PAR | RL_FLAG_DESCV2 |