Fixed reset handling for motor off resets. I first fixed this together
with other reset handling in rev.1.83 but broke it in rev.1.120. The breakage didn't seem to cause any problems even on the system which had problems ("extra" interrupts and botched handling thereof) before rev.1.83. It only affects multi-floppy systems anyway.
This commit is contained in:
parent
c6608df332
commit
f86e40770a
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user