summaryrefslogtreecommitdiffstats
path: root/sys/cam/scsi
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-02-22 09:18:46 +0000
committerphk <phk@FreeBSD.org>2002-02-22 09:18:46 +0000
commit8b5a71f365fa771240bb1b5f8790a9c194013468 (patch)
treecf58a1e56139b39cf23692028dc0f47ec6dc4917 /sys/cam/scsi
parent7d2feac7d3f2d24e6aa783bff897b21b508633e8 (diff)
downloadFreeBSD-src-8b5a71f365fa771240bb1b5f8790a9c194013468.zip
FreeBSD-src-8b5a71f365fa771240bb1b5f8790a9c194013468.tar.gz
GC: BIO_ORDERED going away.
Diffstat (limited to 'sys/cam/scsi')
-rw-r--r--sys/cam/scsi/scsi_cd.c4
-rw-r--r--sys/cam/scsi/scsi_da.c3
2 files changed, 2 insertions, 5 deletions
diff --git a/sys/cam/scsi/scsi_cd.c b/sys/cam/scsi/scsi_cd.c
index 550ef41..33f7358 100644
--- a/sys/cam/scsi/scsi_cd.c
+++ b/sys/cam/scsi/scsi_cd.c
@@ -1448,9 +1448,7 @@ cdstart(struct cam_periph *periph, union ccb *start_ccb)
scsi_read_write(&start_ccb->csio,
/*retries*/4,
/* cbfcnp */ cddone,
- (bp->bio_flags & BIO_ORDERED) != 0 ?
- MSG_ORDERED_Q_TAG :
- MSG_SIMPLE_Q_TAG,
+ MSG_SIMPLE_Q_TAG,
/* read */bp->bio_cmd == BIO_READ,
/* byte2 */ 0,
/* minimum_cmd_size */ 10,
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
index b58ba9a..5341460 100644
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -1242,8 +1242,7 @@ dastart(struct cam_periph *periph, union ccb *start_ccb)
devstat_start_transaction(&softc->device_stats);
- if ((bp->bio_flags & BIO_ORDERED) != 0
- || (softc->flags & DA_FLAG_NEED_OTAG) != 0) {
+ if ((softc->flags & DA_FLAG_NEED_OTAG) != 0) {
softc->flags &= ~DA_FLAG_NEED_OTAG;
softc->ordered_tag_count++;
tag_code = MSG_ORDERED_Q_TAG;
OpenPOWER on IntegriCloud