Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Yet anothor workaround for hpcmips. I guess real...



details:   https://anonhg.NetBSD.org/src/rev/3e5c70ae3c2f
branches:  trunk
changeset: 481745:3e5c70ae3c2f
user:      enami <enami%NetBSD.org@localhost>
date:      Sat Feb 05 04:34:36 2000 +0000

description:
Yet anothor workaround for hpcmips.  I guess real problem is somewhere else...

With rev.1.37, my MobileGearII for DoCoMo finds both ne0 and wd0
even if pcic_delay_sleep is 1.
With rev 1.40, it fails to find wd0.

diffstat:

 sys/dev/ic/i82365.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 026ca27d21b5 -r 3e5c70ae3c2f sys/dev/ic/i82365.c
--- a/sys/dev/ic/i82365.c       Sat Feb 05 03:25:26 2000 +0000
+++ b/sys/dev/ic/i82365.c       Sat Feb 05 04:34:36 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i82365.c,v 1.44 2000/02/04 11:04:46 enami Exp $        */
+/*     $NetBSD: i82365.c,v 1.45 2000/02/05 04:34:36 enami Exp $        */
 
 #define        PCICDEBUG
 
@@ -1392,6 +1392,9 @@
         * delay routine.
         */
        delay(20);
+#ifdef __hpcmips__
+       pcic_delay(h, 22, "pccen3");            /* XXX */
+#endif
 
        /* clear the reset flag */
        intr |= PCIC_INTR_RESET;



Home | Main Index | Thread Index | Old Index