Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/dev/mii Pullup revision 1.28 (approved by Jason Tho...
details: https://anonhg.NetBSD.org/src/rev/73c23394e54f
branches: netbsd-1-5
changeset: 488789:73c23394e54f
user: martin <martin%NetBSD.org@localhost>
date: Fri Jul 28 10:10:30 2000 +0000
description:
Pullup revision 1.28 (approved by Jason Thorpe)
Fix to autonegotiation problem with some fxp cards. Fix found and reported
by Erich T. Enke et al. on current-users.
Fixes PR 10550.
diffstat:
sys/dev/mii/nsphy.c | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 22aed2a0f5e9 -r 73c23394e54f sys/dev/mii/nsphy.c
--- a/sys/dev/mii/nsphy.c Fri Jul 28 02:31:25 2000 +0000
+++ b/sys/dev/mii/nsphy.c Fri Jul 28 10:10:30 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nsphy.c,v 1.26.4.1 2000/07/04 04:11:13 thorpej Exp $ */
+/* $NetBSD: nsphy.c,v 1.26.4.2 2000/07/28 10:10:30 martin Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -207,14 +207,17 @@
*/
reg |= PCR_FLINK100;
-#if 0
/*
* Mystery bits which are supposedly `reserved',
* but we seem to need to set them when the PHY
- * is connected to some interfaces!
+ * is connected to some interfaces:
+ *
+ * 0x0400 is needed for fxp
+ * (Intel EtherExpress Pro 10+/100B, 82557 chip)
+ * (nsphy with a DP83840 chip)
+ * 0x0100 may be needed for some other card
*/
reg |= 0x0100 | 0x0400;
-#endif
PHY_WRITE(sc, MII_NSPHY_PCR, reg);
Home |
Main Index |
Thread Index |
Old Index