Increase the timeout for FTCMD_SEEK commands to complete from 1 second to
1.5 seconds in ftintr_wait(). Three people have reported that this fixes the problem they are having. Submitted by: Steve Gerakines <steve2@genesis.tiac.net>
This commit is contained in:
parent
39595648ad
commit
798677e519
@ -17,7 +17,7 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* ft.c - QIC-40/80 floppy tape driver
|
||||
* $Id: ft.c,v 1.17 1995/03/28 07:55:26 bde Exp $
|
||||
* $Id: ft.c,v 1.18 1995/04/06 07:20:16 rgrimes Exp $
|
||||
*
|
||||
* 01/19/95 ++sg
|
||||
* Cleaned up recalibrate/seek code at attach time for FreeBSD 2.x.
|
||||
@ -1479,7 +1479,7 @@ ftintr_wait(ftu_t ftu, int cmd, int ticks)
|
||||
case FTCMD_RECAL:
|
||||
case FTCMD_SEEK:
|
||||
for (retries = 0; retries < 10000; retries++) {
|
||||
DELAY(100);
|
||||
DELAY(150);
|
||||
out_fdc(fdcu, NE7CMD_SENSEI);
|
||||
st0 = in_fdc(fdcu);
|
||||
if ((st0 & 0xc0) == 0x80) continue;
|
||||
|
Loading…
Reference in New Issue
Block a user