diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-08-17 06:24:55 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-08-17 06:24:55 +0000 |
commit | 453b1ec3ab54e801099587740c40c1b189e7c4f9 (patch) | |
tree | 90e8db5641191e8c87e1282d9af2d3b60267923d /sys/dev/isa | |
parent | 7afe70c1ad51698356b05ce4f271256cbff654a6 (diff) |
Don't increment sc_errors right after calling wdcunwedge().
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/wdc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |