Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Increase polled command timeout to 2s.
details: https://anonhg.NetBSD.org/src/rev/b36a24efb936
branches: trunk
changeset: 495230:b36a24efb936
user: ad <ad%NetBSD.org@localhost>
date: Mon Jul 24 12:28:31 2000 +0000
description:
Increase polled command timeout to 2s.
diffstat:
sys/dev/ic/cac.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c9db86b1370d -r b36a24efb936 sys/dev/ic/cac.c
--- a/sys/dev/ic/cac.c Mon Jul 24 12:26:15 2000 +0000
+++ b/sys/dev/ic/cac.c Mon Jul 24 12:28:31 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cac.c,v 1.7 2000/07/06 01:47:35 thorpej Exp $ */
+/* $NetBSD: cac.c,v 1.8 2000/07/24 12:28:31 ad Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cac.c,v 1.7 2000/07/06 01:47:35 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cac.c,v 1.8 2000/07/24 12:28:31 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -356,7 +356,7 @@
ccb_done = NULL;
for (;;) {
- for (completed = 0; timo != 0; timo--) {
+ for (timo *= 10, completed = 0; timo != 0; timo--) {
if ((completed = sc->sc_cl->cl_completed(sc)) != 0)
break;
DELAY(100);
Home |
Main Index |
Thread Index |
Old Index