Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/mii more mention RTL8251.
details: https://anonhg.NetBSD.org/src/rev/b2235a9390a3
branches: trunk
changeset: 333583:b2235a9390a3
user: nonaka <nonaka%NetBSD.org@localhost>
date: Sun Nov 09 19:35:43 2014 +0000
description:
more mention RTL8251.
diffstat:
sys/dev/mii/rgephy.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 3461cdf95f7b -r b2235a9390a3 sys/dev/mii/rgephy.c
--- a/sys/dev/mii/rgephy.c Sun Nov 09 18:40:19 2014 +0000
+++ b/sys/dev/mii/rgephy.c Sun Nov 09 19:35:43 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rgephy.c,v 1.36 2014/11/09 17:54:45 nonaka Exp $ */
+/* $NetBSD: rgephy.c,v 1.37 2014/11/09 19:35:43 nonaka Exp $ */
/*
* Copyright (c) 2003
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rgephy.c,v 1.36 2014/11/09 17:54:45 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rgephy.c,v 1.37 2014/11/09 19:35:43 nonaka Exp $");
/*
@@ -456,7 +456,8 @@
uint32_t bmsr;
int i;
- if (sc->mii_mpd_rev < 2) {
+ if (sc->mii_mpd_model != MII_MODEL_REALTEK_RTL8251 &&
+ sc->mii_mpd_rev < 2) {
PHY_WRITE(sc, MII_BMCR, BMCR_PDOWN);
DELAY(1000);
}
Home |
Main Index |
Thread Index |
Old Index