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)); } }