summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1998-01-18 15:10:03 +0000
committerkato <kato@FreeBSD.org>1998-01-18 15:10:03 +0000
commit47602f273a7d3d3f5393328f6f4072e97202126b (patch)
tree1029e20c2dc4e15ad5bb536cf2ad7477c3087117 /sys
parentf627fa9f0dee044ea7e669d34577837ec1e4eaf8 (diff)
downloadFreeBSD-src-47602f273a7d3d3f5393328f6f4072e97202126b.zip
FreeBSD-src-47602f273a7d3d3f5393328f6f4072e97202126b.tar.gz
Sync with sys/i386/isa/wd.c revision 1.147.
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/pc98/wd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pc98/pc98/wd.c b/sys/pc98/pc98/wd.c
index 9be5344..d9407d0 100644
--- a/sys/pc98/pc98/wd.c
+++ b/sys/pc98/pc98/wd.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
- * $Id: wd.c,v 1.38 1997/12/06 14:27:40 bde Exp $
+ * $Id: wd.c,v 1.39 1998/01/14 08:37:59 kato Exp $
*/
/* TODO:
@@ -411,7 +411,7 @@ reset_ok:
else
du->dk_error = inb(du->dk_port + wd_error);
- if(du->dk_error != 0x01) {
+ if(du->dk_error != 0x01 && du->dk_error != 0) {
if(du->dk_error & 0x80) { /* drive 1 failure */
/* first set the DRV bit */
OpenPOWER on IntegriCloud