diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1999-12-14 08:28:16 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1999-12-14 08:28:16 +0000 |
commit | 980fa01bbf3222b77053f5a6e0fef0f5dc219a1a (patch) | |
tree | fba2c197468739a3a2b525b79387dc8c215b6831 /sys/dev | |
parent | 5b04851775f31527dc3b01f48f35a6f87676b43d (diff) |
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.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/wdc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |