From 453b1ec3ab54e801099587740c40c1b189e7c4f9 Mon Sep 17 00:00:00 2001 From: Jason Downs Date: Sat, 17 Aug 1996 06:24:55 +0000 Subject: Don't increment sc_errors right after calling wdcunwedge(). --- sys/dev/isa/wdc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/dev/isa/wdc.c b/sys/dev/isa/wdc.c index 85264e2b4a5..2dd372f4d94 100644 --- a/sys/dev/isa/wdc.c +++ b/sys/dev/isa/wdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdc.c,v 1.4 1996/08/12 05:21:20 niklas Exp $ */ +/* $OpenBSD: wdc.c,v 1.5 1996/08/17 06:24:54 downsj Exp $ */ /* $NetBSD: wd.c,v 1.150 1996/05/12 23:54:03 mycroft Exp $ */ /* @@ -728,7 +728,7 @@ wdc_ata_intr(wdc,xfer) #endif wdcunwedge(wdc); - if (++wdc->sc_errors < WDIORETRIES) + if (wdc->sc_errors < WDIORETRIES) return 1; wderror(d_link, xfer->c_bp, "hard error"); -- cgit v1.2.3