Source-Changes-HG archive

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

[src/thorpej_scsipi]: src/sys/dev/ic Sync w/ -current.



details:   https://anonhg.NetBSD.org/src/rev/95eecd7dbf0b
branches:  thorpej_scsipi
changeset: 477288:95eecd7dbf0b
user:      ad <ad%NetBSD.org@localhost>
date:      Wed Oct 20 11:54:56 1999 +0000

description:
Sync w/ -current.

diffstat:

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

diffs (45 lines):

diff -r 3fba0ef3456d -r 95eecd7dbf0b sys/dev/ic/dpt.c
--- a/sys/dev/ic/dpt.c  Wed Oct 20 10:14:54 1999 +0000
+++ b/sys/dev/ic/dpt.c  Wed Oct 20 11:54:56 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dpt.c,v 1.8.2.4 1999/10/19 23:34:54 ad Exp $   */
+/*     $NetBSD: dpt.c,v 1.8.2.5 1999/10/20 11:54:56 ad Exp $   */
 
 /*-
  * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dpt.c,v 1.8.2.4 1999/10/19 23:34:54 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dpt.c,v 1.8.2.5 1999/10/20 11:54:56 ad Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -163,7 +163,7 @@
 #endif
        
        /* Don't get stalled by HA_ST_MORE */
-       if (moretimo < DPT_MORE_TIMEOUT / 10)
+       if (moretimo < DPT_MORE_TIMEOUT / 100)
                moretimo = 0;
        
        for (;;) {
@@ -175,7 +175,7 @@
                 * around. 
                 */ 
                if ((dpt_inb(sc, HA_AUX_STATUS) & HA_AUX_INTR) == 0) {
-                       if (more != 0 && moretimo++ < DPT_MORE_TIMEOUT / 10) {
+                       if (more != 0 && moretimo++ < DPT_MORE_TIMEOUT / 100) {
                                DELAY(10);
                                continue;
                        }
@@ -235,7 +235,7 @@
                }
                
                /* Don't get stalled by HA_ST_MORE */
-               if (moretimo < DPT_MORE_TIMEOUT / 10)
+               if (moretimo < DPT_MORE_TIMEOUT / 100)
                        moretimo = 0;
        }
 



Home | Main Index | Thread Index | Old Index