aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1997-11-04 09:28:54 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1997-11-04 09:28:54 +0000
commit89d664b2dc2d864c811b2ffda917633368b5ad74 (patch)
treef082790933f2dfffc7c2caa0157e53b13065398c /sys
parentde34792f070ea8f2d64ad2b95ba9fe4b8ca13264 (diff)
downloadsrc-89d664b2dc2d864c811b2ffda917633368b5ad74.tar.gz
src-89d664b2dc2d864c811b2ffda917633368b5ad74.zip
dk_altport is initialized in wdprobe(), but not in wdattach(), this
breaks wdreset(), wdunwedge() &c &c. Should be examined in detail by: dyson
Notes
Notes: svn path=/head/; revision=30929
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/isa/wd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/isa/wd.c b/sys/i386/isa/wd.c
index 8765237ca25e..cfdd2138b4f8 100644
--- a/sys/i386/isa/wd.c
+++ b/sys/i386/isa/wd.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
- * $Id: wd.c,v 1.140 1997/09/21 21:41:49 gibbs Exp $
+ * $Id: wd.c,v 1.141 1997/10/12 16:22:01 sos Exp $
*/
/* TODO:
@@ -453,6 +453,7 @@ wdattach(struct isa_device *dvp)
du->dk_lunit = lunit;
du->dk_port = dvp->id_iobase;
+ du->dk_altport = du->dk_port + wd_ctlr;
/*
* Use the individual device flags or the controller
* flags.