Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Shorten infinite loop. Tames atactl(8) atabus re...
details: https://anonhg.NetBSD.org/src/rev/2b340cd0ed5d
branches: trunk
changeset: 763090:2b340cd0ed5d
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Thu Mar 10 03:35:37 2011 +0000
description:
Shorten infinite loop. Tames atactl(8) atabus reset on mvsata(4).
diffstat:
sys/dev/ic/mvsata.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 04a2e05dc68c -r 2b340cd0ed5d sys/dev/ic/mvsata.c
--- a/sys/dev/ic/mvsata.c Thu Mar 10 00:13:56 2011 +0000
+++ b/sys/dev/ic/mvsata.c Thu Mar 10 03:35:37 2011 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index