It's confusing to say that "Command Queueing Supported" just based

upon the scsi flag validity field. Instead, just say "Command Queueing Enabled"
when it is- otherwise remain mute.
This commit is contained in:
Matt Jacob 2006-12-03 07:11:55 +00:00
parent b73057227b
commit 3623222e67
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164842

View File

@ -955,10 +955,9 @@ scsixferrate(struct cam_device *device)
struct ccb_trans_settings_scsi *scsi =
&ccb->cts.proto_specific.scsi;
if (scsi->valid & CTS_SCSI_VALID_TQ) {
if (scsi->flags & CTS_SCSI_FLAGS_TAG_ENB)
if (scsi->flags & CTS_SCSI_FLAGS_TAG_ENB) {
fprintf(stdout, ", Command Queueing Enabled");
else
fprintf(stdout, ", Command Queueing Supported");
}
}
}