aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/scsi/scsi_pass.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-10-01 09:34:10 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-10-01 09:34:10 +0000
commit779b1b3d5b50d99b22f0e5e9e493a6825f2e1dc5 (patch)
treeedb782ef120d4947fe965f0db548656a3034c6db /sys/cam/scsi/scsi_pass.c
parentac14c3115f412294d8715ef01d15d18265922bae (diff)
downloadsrc-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.c5
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;
}