From 89d664b2dc2d864c811b2ffda917633368b5ad74 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Tue, 4 Nov 1997 09:28:54 +0000 Subject: [PATCH] dk_altport is initialized in wdprobe(), but not in wdattach(), this breaks wdreset(), wdunwedge() &c &c. Should be examined in detail by: dyson --- sys/i386/isa/wd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.