From 1e023fc3c6699483b9ace557e862ac9a09ea6e2a Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Sun, 19 Jul 1998 15:03:49 +0000 Subject: [PATCH] Sync with sys/i386/isa/fd.c revision 1.119. --- sys/pc98/cbus/fdc.c | 4 +++- sys/pc98/pc98/fd.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c index d77cf022af3a..e3c166ec7052 100644 --- a/sys/pc98/cbus/fdc.c +++ b/sys/pc98/cbus/fdc.c @@ -43,7 +43,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.35 1998/07/13 09:29:23 kato Exp $ + * $Id: fd.c,v 1.36 1998/07/16 10:27:49 kato Exp $ * */ @@ -2024,6 +2024,8 @@ fdstate(fdcu_t fdcu, fdc_p fdc) printf( "fd%d: Seek to cyl %d failed; am at cyl %d (ST0 = 0x%x)\n", fdu, descyl, cyl, st0); + if (fdc->retry < 3) + fdc->retry = 3; return(retrier(fdcu)); } } diff --git a/sys/pc98/pc98/fd.c b/sys/pc98/pc98/fd.c index d77cf022af3a..e3c166ec7052 100644 --- a/sys/pc98/pc98/fd.c +++ b/sys/pc98/pc98/fd.c @@ -43,7 +43,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.35 1998/07/13 09:29:23 kato Exp $ + * $Id: fd.c,v 1.36 1998/07/16 10:27:49 kato Exp $ * */ @@ -2024,6 +2024,8 @@ fdstate(fdcu_t fdcu, fdc_p fdc) printf( "fd%d: Seek to cyl %d failed; am at cyl %d (ST0 = 0x%x)\n", fdu, descyl, cyl, st0); + if (fdc->retry < 3) + fdc->retry = 3; return(retrier(fdcu)); } }