Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sbin/scsictl Pullup rev 1.24 (requested by fair in tick...



details:   https://anonhg.NetBSD.org/src/rev/1f74fefbf491
branches:  netbsd-2-0
changeset: 561258:1f74fefbf491
user:      jmc <jmc%NetBSD.org@localhost>
date:      Tue Jun 01 04:40:34 2004 +0000

description:
Pullup rev 1.24 (requested by fair in ticket #431)

Increase the SCSI command timeout for device start & stop from 10
to 30 seconds. PR#25734

diffstat:

 sbin/scsictl/scsictl.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r d85b91de5563 -r 1f74fefbf491 sbin/scsictl/scsictl.c
--- a/sbin/scsictl/scsictl.c    Tue Jun 01 04:38:28 2004 +0000
+++ b/sbin/scsictl/scsictl.c    Tue Jun 01 04:40:34 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scsictl.c,v 1.23 2004/01/05 23:23:33 jmmv Exp $        */
+/*     $NetBSD: scsictl.c,v 1.23.2.1 2004/06/01 04:40:34 jmc Exp $     */
 
 /*-
  * Copyright (c) 1998, 2002 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: scsictl.c,v 1.23 2004/01/05 23:23:33 jmmv Exp $");
+__RCSID("$NetBSD: scsictl.c,v 1.23.2.1 2004/06/01 04:40:34 jmc Exp $");
 #endif
 
 
@@ -807,7 +807,7 @@
        cmd.opcode = START_STOP;
        cmd.how = SSS_START;
 
-       scsi_command(fd, &cmd, sizeof(cmd), NULL, 0, 10000, 0);
+       scsi_command(fd, &cmd, sizeof(cmd), NULL, 0, 30000, 0);
 
        return;
 }
@@ -833,7 +833,7 @@
        cmd.opcode = START_STOP;
        cmd.how = SSS_STOP;
 
-       scsi_command(fd, &cmd, sizeof(cmd), NULL, 0, 10000, 0);
+       scsi_command(fd, &cmd, sizeof(cmd), NULL, 0, 30000, 0);
 
        return;
 }



Home | Main Index | Thread Index | Old Index