Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Remove temporary workaround for hpcmips. Now it ...



details:   https://anonhg.NetBSD.org/src/rev/84515b0e367f
branches:  trunk
changeset: 481659:84515b0e367f
user:      enami <enami%NetBSD.org@localhost>
date:      Thu Feb 03 09:00:39 2000 +0000

description:
Remove temporary workaround for hpcmips.  Now it works without it.

diffstat:

 sys/dev/ic/i82365.c |  17 ++---------------
 1 files changed, 2 insertions(+), 15 deletions(-)

diffs (38 lines):

diff -r 466d02ba768e -r 84515b0e367f sys/dev/ic/i82365.c
--- a/sys/dev/ic/i82365.c       Thu Feb 03 08:59:20 2000 +0000
+++ b/sys/dev/ic/i82365.c       Thu Feb 03 09:00:39 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i82365.c,v 1.39 2000/02/03 08:59:20 enami Exp $        */
+/*     $NetBSD: i82365.c,v 1.40 2000/02/03 09:00:39 enami Exp $        */
 
 #define        PCICDEBUG
 
@@ -95,15 +95,6 @@
 static u_int8_t st_pcic_read __P((struct pcic_handle *, int));
 static void st_pcic_write __P((struct pcic_handle *, int, u_int8_t));
 
-#if !defined(PCIC_DELAY_SLEEP)
-#if defined(__hpcmips__)
-#define PCIC_DELAY_SLEEP 0
-#else
-#define PCIC_DELAY_SLEEP 1
-#endif
-#endif
-int pcic_delay_sleep = PCIC_DELAY_SLEEP;
-
 int
 pcic_ident_ok(ident)
        int ident;
@@ -1330,11 +1321,7 @@
        }
 #endif
        DPRINTF(("pcic_delay: %p, sleep %d ms\n", h->event_thread, timo));
-       if (pcic_delay_sleep)
-               tsleep(pcic_delay, PWAIT, wmesg,
-                   roundup(timo * hz, 1000) / 1000);
-       else
-               delay(timo * 1000);
+       tsleep(pcic_delay, PWAIT, wmesg, roundup(timo * hz, 1000) / 1000);
 }
 
 void



Home | Main Index | Thread Index | Old Index