Module Name: src Committed By: jakllsch Date: Thu Mar 10 03:35:38 UTC 2011
Modified Files: src/sys/dev/ic: mvsata.c Log Message: Shorten infinite loop. Tames atactl(8) atabus reset on mvsata(4). To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 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.7 src/sys/dev/ic/mvsata.c:1.8 --- src/sys/dev/ic/mvsata.c:1.7 Sun Feb 20 01:26:22 2011 +++ src/sys/dev/ic/mvsata.c Thu Mar 10 03:35:37 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: mvsata.c,v 1.7 2011/02/20 01:26:22 riz Exp $ */ +/* $NetBSD: mvsata.c,v 1.8 2011/03/10 03:35:37 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.7 2011/02/20 01:26:22 riz Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.8 2011/03/10 03:35:37 jakllsch Exp $"); #include "opt_mvsata.h" @@ -575,7 +575,7 @@ mvport->port_sata_scontrol, mvport->port_sata_sstatus); } - for (i = 0; MVSATA_EDMAQ_LEN; i++) { + for (i = 0; i < MVSATA_EDMAQ_LEN; i++) { xfer = mvport->port_reqtbl[i].xfer; if (xfer == NULL) continue;