Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/sys/dev/mii Pull up revision 1.2 (requested by thorpej ...



details:   https://anonhg.NetBSD.org/src/rev/c342e78c4528
branches:  netbsd-2-0
changeset: 564639:c342e78c4528
user:      jdc <jdc%NetBSD.org@localhost>
date:      Fri Jan 07 11:42:45 2005 +0000

description:
Pull up revision 1.2 (requested by thorpej in ticket #897)

Enable the SmartSpeed work-around code for the IGP phy, with some
minor adjustments.

diffstat:

 sys/dev/mii/igphyreg.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r be4e4c9482c1 -r c342e78c4528 sys/dev/mii/igphyreg.h
--- a/sys/dev/mii/igphyreg.h    Fri Jan 07 11:42:14 2005 +0000
+++ b/sys/dev/mii/igphyreg.h    Fri Jan 07 11:42:45 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: igphyreg.h,v 1.1 2003/10/28 00:15:40 fvdl Exp $        */
+/*     $NetBSD: igphyreg.h,v 1.1.2.1 2005/01/07 11:42:45 jdc Exp $     */
 
 /*******************************************************************************
 
@@ -162,4 +162,5 @@
        PHY_WRITE(sc, (reg) & 0x1f, val); \
     } while (/*CONSTCOND*/0)
 
-#define IGPHY_TICK_DOWNSHIFT   3
+#define        IGPHY_TICK_DOWNSHIFT    3
+#define        IGPHY_TICK_MAX          15



Home | Main Index | Thread Index | Old Index