1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Sync with sys/i386/isa/fd.c revision 1.123.

This commit is contained in:
KATO Takenori 1998-09-16 08:08:38 +00:00
parent 6b47fe275c
commit c87ddee143
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39336
2 changed files with 4 additions and 6 deletions

View File

@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
* $Id: fd.c,v 1.39 1998/09/14 19:56:40 sos Exp $
* $Id: fd.c,v 1.40 1998/09/15 14:07:08 kato Exp $
*
*/
@ -2173,7 +2173,6 @@ retrier(fdcu)
struct subdev *sd;
fdc_p fdc = fdc_data + fdcu;
register struct buf *bp;
struct fd_data *fd;
int fdu;
bp = bufq_first(&fdc->head);
@ -2223,7 +2222,7 @@ retrier(fdcu)
bufq_remove(&fdc->head, bp);
/* Tell devstat we have finished with the transaction */
devstat_end_transaction(&fd->device_stats,
devstat_end_transaction(&fdc->fd->device_stats,
bp->b_bcount - bp->b_resid,
DEVSTAT_TAG_NONE,
(bp->b_flags & B_READ) ? DEVSTAT_READ :

View File

@ -43,7 +43,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
* $Id: fd.c,v 1.39 1998/09/14 19:56:40 sos Exp $
* $Id: fd.c,v 1.40 1998/09/15 14:07:08 kato Exp $
*
*/
@ -2173,7 +2173,6 @@ retrier(fdcu)
struct subdev *sd;
fdc_p fdc = fdc_data + fdcu;
register struct buf *bp;
struct fd_data *fd;
int fdu;
bp = bufq_first(&fdc->head);
@ -2223,7 +2222,7 @@ retrier(fdcu)
bufq_remove(&fdc->head, bp);
/* Tell devstat we have finished with the transaction */
devstat_end_transaction(&fd->device_stats,
devstat_end_transaction(&fdc->fd->device_stats,
bp->b_bcount - bp->b_resid,
DEVSTAT_TAG_NONE,
(bp->b_flags & B_READ) ? DEVSTAT_READ :