Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic More delay() for some drives.



details:   https://anonhg.NetBSD.org/src/rev/58e7a47541c1
branches:  trunk
changeset: 326780:58e7a47541c1
user:      kiyohara <kiyohara%NetBSD.org@localhost>
date:      Mon Feb 17 13:41:20 2014 +0000

description:
More delay() for some drives.

diffstat:

 sys/dev/ic/mvsata.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6d53b68dd06c -r 58e7a47541c1 sys/dev/ic/mvsata.c
--- a/sys/dev/ic/mvsata.c       Mon Feb 17 12:06:15 2014 +0000
+++ b/sys/dev/ic/mvsata.c       Mon Feb 17 13:41:20 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsata.c,v 1.32 2013/09/01 11:14:46 kiyohara Exp $     */
+/*     $NetBSD: mvsata.c,v 1.33 2014/02/17 13:41:20 kiyohara Exp $     */
 /*
  * Copyright (c) 2008 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.32 2013/09/01 11:14:46 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.33 2014/02/17 13:41:20 kiyohara Exp $");
 
 #include "opt_mvsata.h"
 
@@ -1694,7 +1694,7 @@
                ata_c->flags |= AT_TIMEOU;
                goto out;
        }
-       delay(10);      /* XXXXX: Delay more times. */
+       delay(20);      /* XXXXX: Delay more times. */
        if (ata_c->flags & AT_READ) {
                if ((chp->ch_status & WDCS_DRQ) == 0) {
                        ata_c->flags |= AT_TIMEOU;



Home | Main Index | Thread Index | Old Index