Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/mii Remove changes to bitbang code for de devices to...



details:   https://anonhg.NetBSD.org/src/rev/d061b3cdfd6d
branches:  trunk
changeset: 583496:d061b3cdfd6d
user:      chris <chris%NetBSD.org@localhost>
date:      Tue Aug 09 19:26:24 2005 +0000

description:
Remove changes to bitbang code for de devices to work as tlps on cats.

I need to investigate a proper fix that doesn't break other platforms, eg:
PR kern/30952

diffstat:

 sys/dev/mii/mii_bitbang.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r bb40f073add2 -r d061b3cdfd6d sys/dev/mii/mii_bitbang.c
--- a/sys/dev/mii/mii_bitbang.c Tue Aug 09 16:42:05 2005 +0000
+++ b/sys/dev/mii/mii_bitbang.c Tue Aug 09 19:26:24 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mii_bitbang.c,v 1.8 2005/08/07 17:47:22 chris Exp $    */
+/*     $NetBSD: mii_bitbang.c,v 1.9 2005/08/09 19:26:24 chris Exp $    */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mii_bitbang.c,v 1.8 2005/08/07 17:47:22 chris Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mii_bitbang.c,v 1.9 2005/08/09 19:26:24 chris Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -75,12 +75,6 @@
        int i;
        u_int32_t v;
 
-       /* First clock out the change in direction */
-       v = MDIRPHY;
-       WRITE(v);
-       WRITE(v | MDC);
-
-       /* send 32bits of 1 to synchronize the MII */
        v = MDIRPHY | MDO;
 
        WRITE(v);



Home | Main Index | Thread Index | Old Index