From e7e0afea3bc97dd1a9df4726f64b0d805e76fa58 Mon Sep 17 00:00:00 2001 From: Nate Williams Date: Tue, 8 Mar 1994 16:25:29 +0000 Subject: [PATCH] From: Jim Babb Subject: Re: Bugs with floppy drives Date: Tue, 8 Mar 94 9:11:54 CST The transfer speed was only set in the retry after error, not when switching drives. --- sys/dev/fdc/fdc.c | 3 ++- sys/i386/isa/fd.c | 3 ++- sys/isa/fd.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index c0e8311acd8f..d2eb7aa92fcb 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.22 1994/03/02 08:10:42 alm Exp $ + * $Id: fd.c,v 1.23 1994/03/02 18:34:41 ache Exp $ * */ @@ -818,6 +818,7 @@ fdstate(fdcu, fdc) fd->skip = 0; fdc->fd = fd; fdc->fdu = fdu; + outb(fdc->baseport+fdctl, fd->ft->trans); /*******************************************************\ * If the next drive has a motor startup pending, then * * it will start up in it's own good time * diff --git a/sys/i386/isa/fd.c b/sys/i386/isa/fd.c index c0e8311acd8f..d2eb7aa92fcb 100644 --- a/sys/i386/isa/fd.c +++ b/sys/i386/isa/fd.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.22 1994/03/02 08:10:42 alm Exp $ + * $Id: fd.c,v 1.23 1994/03/02 18:34:41 ache Exp $ * */ @@ -818,6 +818,7 @@ fdstate(fdcu, fdc) fd->skip = 0; fdc->fd = fd; fdc->fdu = fdu; + outb(fdc->baseport+fdctl, fd->ft->trans); /*******************************************************\ * If the next drive has a motor startup pending, then * * it will start up in it's own good time * diff --git a/sys/isa/fd.c b/sys/isa/fd.c index c0e8311acd8f..d2eb7aa92fcb 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.22 1994/03/02 08:10:42 alm Exp $ + * $Id: fd.c,v 1.23 1994/03/02 18:34:41 ache Exp $ * */ @@ -818,6 +818,7 @@ fdstate(fdcu, fdc) fd->skip = 0; fdc->fd = fd; fdc->fdu = fdu; + outb(fdc->baseport+fdctl, fd->ft->trans); /*******************************************************\ * If the next drive has a motor startup pending, then * * it will start up in it's own good time *