Module Name: src Committed By: jakllsch Date: Mon May 6 14:52:51 UTC 2013
Modified Files: src/sys/dev/ic: mvsata.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/dev/ic/mvsata.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/mvsata.c diff -u src/sys/dev/ic/mvsata.c:1.30 src/sys/dev/ic/mvsata.c:1.31 --- src/sys/dev/ic/mvsata.c:1.30 Wed Apr 3 17:15:07 2013 +++ src/sys/dev/ic/mvsata.c Mon May 6 14:52:51 2013 @@ -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 @@ mvsata_bio_ready(struct mvsata_port *mvp 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