Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/scsipi Adjust timeout for 'ielem' to match the comme...



details:   https://anonhg.NetBSD.org/src/rev/d4dcf6f8a98a
branches:  trunk
changeset: 471543:d4dcf6f8a98a
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Apr 04 12:20:48 1999 +0000

description:
Adjust timeout for 'ielem' to match the comment: 5 mn (not 5s) per element +
10mn initial.

diffstat:

 sys/dev/scsipi/ch.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r dbe06102aaaf -r d4dcf6f8a98a sys/dev/scsipi/ch.c
--- a/sys/dev/scsipi/ch.c       Sun Apr 04 11:33:02 1999 +0000
+++ b/sys/dev/scsipi/ch.c       Sun Apr 04 12:20:48 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ch.c,v 1.37 1998/12/17 22:28:07 gibbs Exp $    */
+/*     $NetBSD: ch.c,v 1.38 1999/04/04 12:20:48 bouyer Exp $   */
 
 /*
  * Copyright (c) 1996, 1997, 1998 Jason R. Thorpe <thorpej%and.com@localhost>
@@ -650,7 +650,7 @@
                sc->sc_counts[CHET_ST] +
                sc->sc_counts[CHET_IE] +
                sc->sc_counts[CHET_DT];
-       tmo *= 5 * 1000;
+       tmo *= 5 * 60 * 1000;
        tmo += (10 * 60 * 1000);
 
        return (scsipi_command(sc->sc_link,



Home | Main Index | Thread Index | Old Index