summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/fdc.c4
-rw-r--r--sys/pc98/pc98/fd.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c
index d77cf02..e3c166e 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 d77cf02..e3c166e 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));
}
}
OpenPOWER on IntegriCloud