summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/wd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/isa/wd.c b/sys/dev/isa/wd.c
index e388b4cf4f5..5be8262f271 100644
--- a/sys/dev/isa/wd.c
+++ b/sys/dev/isa/wd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wd.c,v 1.31 1997/10/18 21:09:57 deraadt Exp $ */
+/* $OpenBSD: wd.c,v 1.32 1997/12/10 23:09:37 rees Exp $ */
/* $NetBSD: wd.c,v 1.150 1996/05/12 23:54:03 mycroft Exp $ */
/*
@@ -311,9 +311,10 @@ wdstart(vp)
xfer->c_bp = bp;
xfer->c_p_offset = p_offset;
xfer->databuf = bp->b_data;
- xfer->c_bcount = bp->b_bcount;
xfer->c_flags |= bp->b_flags & (B_READ|B_WRITE);
- xfer->c_blkno = bp->b_blkno;
+ xfer->c_skip = 0;
+ xfer->c_errors = 0;
+ /* count and blkno are filled in by wdcstart */
/* Instrumentation. */
disk_busy(&wd->sc_dk);