Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Put back AT_POLL hack in mvsata_bio_ready(). Wit...



details:   https://anonhg.NetBSD.org/src/rev/72830671c050
branches:  trunk
changeset: 786663:72830671c050
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Mon May 06 14:52:51 2013 +0000

description:
Put back AT_POLL hack in mvsata_bio_ready().  Without it 1.5Gbps
SATA WD800JD drives cause the kernel to stall during autoconf on
Orion.

diffstat:

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

diffs (27 lines):

diff -r 2364dff23ae1 -r 72830671c050 sys/dev/ic/mvsata.c
--- a/sys/dev/ic/mvsata.c       Mon May 06 13:44:17 2013 +0000
+++ b/sys/dev/ic/mvsata.c       Mon May 06 14:52:51 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsata.c,v 1.30 2013/04/03 17:15:07 bouyer Exp $       */
+/*     $NetBSD: mvsata.c,v 1.31 2013/05/06 14:52:51 jakllsch 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.30 2013/04/03 17:15:07 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.31 2013/05/06 14:52:51 jakllsch Exp $");
 
 #include "opt_mvsata.h"
 
@@ -1469,6 +1469,8 @@
        struct ata_drive_datas *drvp = &chp->ch_drive[drive];
        const char *errstring;
 
+       flags |= AT_POLL;       /* XXX */
+
        /*
         * disable interrupts, all commands here should be quick
         * enough to be able to poll, and we don't go here that often



Home | Main Index | Thread Index | Old Index