summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-04-09 06:23:12 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-04-09 06:23:12 +0000
commitd98e2983c7e61b0dc80615f1ab6030918b5de60b (patch)
treeecb7ad2dc210b48778fd69834cc50d6e1a8e8df0
parentadc0215de6b139b392b6613683fa3fc489a7461e (diff)
downloadFreeBSD-src-d98e2983c7e61b0dc80615f1ab6030918b5de60b.zip
FreeBSD-src-d98e2983c7e61b0dc80615f1ab6030918b5de60b.tar.gz
Increase the timeout for FTCMD_SEEK commands to complete from 1 second to
1.5 seconds in ftintr_wait(). Three people have reported that this fixes the problem they are having. Submitted by: Steve Gerakines <steve2@genesis.tiac.net>
-rw-r--r--sys/i386/isa/ft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/ft.c b/sys/i386/isa/ft.c
index 64d26cf..b6aa35b 100644
--- a/sys/i386/isa/ft.c
+++ b/sys/i386/isa/ft.c
@@ -17,7 +17,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*
* ft.c - QIC-40/80 floppy tape driver
- * $Id: ft.c,v 1.17 1995/03/28 07:55:26 bde Exp $
+ * $Id: ft.c,v 1.18 1995/04/06 07:20:16 rgrimes Exp $
*
* 01/19/95 ++sg
* Cleaned up recalibrate/seek code at attach time for FreeBSD 2.x.
@@ -1479,7 +1479,7 @@ ftintr_wait(ftu_t ftu, int cmd, int ticks)
case FTCMD_RECAL:
case FTCMD_SEEK:
for (retries = 0; retries < 10000; retries++) {
- DELAY(100);
+ DELAY(150);
out_fdc(fdcu, NE7CMD_SENSEI);
st0 = in_fdc(fdcu);
if ((st0 & 0xc0) == 0x80) continue;
OpenPOWER on IntegriCloud