Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ata Complete bugfix in rev 1.3: increase read-parame...



details:   https://anonhg.NetBSD.org/src/rev/d1af425a5cf8
branches:  trunk
changeset: 471909:d1af425a5cf8
user:      jonathan <jonathan%NetBSD.org@localhost>
date:      Wed Apr 14 22:23:15 1999 +0000

description:
Complete bugfix in rev 1.3: increase read-parameter-block timeout to 10s
  (as used for the hardware for which rev 1.3 was made.)

diffstat:

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

diffs (18 lines):

diff -r 22417fd88a48 -r d1af425a5cf8 sys/dev/ata/ata.c
--- a/sys/dev/ata/ata.c Wed Apr 14 19:37:28 1999 +0000
+++ b/sys/dev/ata/ata.c Wed Apr 14 22:23:15 1999 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: ata.c,v 1.7 1999/03/10 13:11:43 bouyer Exp $      */
+/*      $NetBSD: ata.c,v 1.8 1999/04/14 22:23:15 jonathan Exp $      */
 /*
  * Copyright (c) 1998 Manuel Bouyer.  All rights reserved.
  *
@@ -89,7 +89,7 @@
                return CMD_ERR;
        }
        wdc_c.flags = AT_READ | flags;
-       wdc_c.timeout = 1000; /* 1s */
+       wdc_c.timeout = 10000; /* 10s */
        wdc_c.data = tb;
        wdc_c.bcount = DEV_BSIZE;
        if (wdc_exec_command(drvp, &wdc_c) != WDC_COMPLETE)



Home | Main Index | Thread Index | Old Index