diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-10-01 09:34:10 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-10-01 09:34:10 +0000 |
commit | 779b1b3d5b50d99b22f0e5e9e493a6825f2e1dc5 (patch) | |
tree | edb782ef120d4947fe965f0db548656a3034c6db /sys/cam/scsi/scsi_pass.c | |
parent | ac14c3115f412294d8715ef01d15d18265922bae (diff) | |
download | src-779b1b3d5b50d99b22f0e5e9e493a6825f2e1dc5.tar.gz src-779b1b3d5b50d99b22f0e5e9e493a6825f2e1dc5.zip |
Introduce the disk mini-layer and devstat_end_transaction_buf() in cam/scsi.
Somewhat reviewed by: ken
Notes
Notes:
svn path=/head/; revision=51836
Diffstat (limited to 'sys/cam/scsi/scsi_pass.c')
-rw-r--r-- | sys/cam/scsi/scsi_pass.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/cam/scsi/scsi_pass.c b/sys/cam/scsi/scsi_pass.c index 4dbcabb11382..dc843d225e71 100644 --- a/sys/cam/scsi/scsi_pass.c +++ b/sys/cam/scsi/scsi_pass.c @@ -620,10 +620,7 @@ passdone(struct cam_periph *periph, union ccb *done_ccb) else ds_flags = DEVSTAT_NO_DATA; - devstat_end_transaction(&softc->device_stats, bp->b_bcount, - done_ccb->csio.tag_action & 0xf, - ds_flags); - + devstat_end_transaction_buf(&softc->device_stats, bp); biodone(bp); break; } |