Sync with sys/i386/isa/fd.c revision 1.119.
This commit is contained in:
parent
5fc905fcf0
commit
1e023fc3c6
@ -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));
|
||||
}
|
||||
}
|
||||
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user