summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1998-07-19 15:03:49 +0000
committerkato <kato@FreeBSD.org>1998-07-19 15:03:49 +0000
commit56b9383d16190b92c09814e2c954eace7d503dea (patch)
treeeb9050a1f9f2d6f5417a364de8514cd38219b1fd /sys/pc98
parent015b51968a6befae0ea0ce43a5efd37e04736162 (diff)
downloadFreeBSD-src-56b9383d16190b92c09814e2c954eace7d503dea.zip
FreeBSD-src-56b9383d16190b92c09814e2c954eace7d503dea.tar.gz
Sync with sys/i386/isa/fd.c revision 1.119.
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