From 980fa01bbf3222b77053f5a6e0fef0f5dc219a1a Mon Sep 17 00:00:00 2001 From: Constantine Sapuntzakis Date: Tue, 14 Dec 1999 08:28:16 +0000 Subject: Change error diagnostic from "lost interrupt" to "timeout" Interrupt may not actually be lost. Maybe the application sent an unreasonably low timeout. To conclude lost interrupt, the device driver needs to check that the device actually transitioned to a new state. It is a bit premature to say this here. --- sys/dev/ic/wdc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c index fac5426a7ff..0601039499e 100644 --- a/sys/dev/ic/wdc.c +++ b/sys/dev/ic/wdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdc.c,v 1.14 1999/11/17 01:22:56 csapuntz Exp $ */ +/* $OpenBSD: wdc.c,v 1.15 1999/12/14 08:28:15 csapuntz Exp $ */ /* $NetBSD: wdc.c,v 1.68 1999/06/23 19:00:17 bouyer Exp $ */ @@ -912,7 +912,7 @@ wdctimeout(arg) s = splbio(); if ((chp->ch_flags & WDCF_IRQ_WAIT) != 0) { - __wdcerror(chp, "lost interrupt"); + __wdcerror(chp, "timeout"); printf("\ttype: %s\n", (xfer->c_flags & C_ATAPI) ? "atapi":"ata"); printf("\tc_bcount: %d\n", xfer->c_bcount); -- cgit v1.2.3