aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1999-05-11 04:58:30 +0000
committerBruce Evans <bde@FreeBSD.org>1999-05-11 04:58:30 +0000
commitf86e40770aaa37ad17c44dc9a6842d4a4afaa04d (patch)
tree4df52079f3a9364136e33cfc7e6cc20c849d1a75 /sys
parentc6608df332060fde9a7456e06b3739dad57b8751 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/fdc/fdc.c5
-rw-r--r--sys/i386/isa/fd.c5
-rw-r--r--sys/isa/fd.c5
3 files changed, 9 insertions, 6 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index 197975b4807f..35cc34ce572d 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -47,7 +47,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.141 1999/05/08 18:13:14 peter Exp $
+ * $Id: fd.c,v 1.142 1999/05/08 21:59:24 dfr Exp $
*
*/
@@ -2042,8 +2042,9 @@ fdstate(fdc_p fdc)
* If all motors were off, then the controller was
* reset, so it has lost track of the current
* cylinder. Recalibrate to handle this case.
+ * But first, discard the results of the reset.
*/
- fdc->state = STARTRECAL;
+ fdc->state = RESETCOMPLETE;
}
return (1); /* will return immediatly */
default:
diff --git a/sys/i386/isa/fd.c b/sys/i386/isa/fd.c
index 197975b4807f..35cc34ce572d 100644
--- a/sys/i386/isa/fd.c
+++ b/sys/i386/isa/fd.c
@@ -47,7 +47,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.141 1999/05/08 18:13:14 peter Exp $
+ * $Id: fd.c,v 1.142 1999/05/08 21:59:24 dfr Exp $
*
*/
@@ -2042,8 +2042,9 @@ fdstate(fdc_p fdc)
* If all motors were off, then the controller was
* reset, so it has lost track of the current
* cylinder. Recalibrate to handle this case.
+ * But first, discard the results of the reset.
*/
- fdc->state = STARTRECAL;
+ fdc->state = RESETCOMPLETE;
}
return (1); /* will return immediatly */
default:
diff --git a/sys/isa/fd.c b/sys/isa/fd.c
index 197975b4807f..35cc34ce572d 100644
--- a/sys/isa/fd.c
+++ b/sys/isa/fd.c
@@ -47,7 +47,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.141 1999/05/08 18:13:14 peter Exp $
+ * $Id: fd.c,v 1.142 1999/05/08 21:59:24 dfr Exp $
*
*/
@@ -2042,8 +2042,9 @@ fdstate(fdc_p fdc)
* If all motors were off, then the controller was
* reset, so it has lost track of the current
* cylinder. Recalibrate to handle this case.
+ * But first, discard the results of the reset.
*/
- fdc->state = STARTRECAL;
+ fdc->state = RESETCOMPLETE;
}
return (1); /* will return immediatly */
default: