diff options
author | ken <ken@FreeBSD.org> | 2000-06-28 02:48:31 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 2000-06-28 02:48:31 +0000 |
commit | 0f569823418e10fb63f54a47c08752b3a29ac888 (patch) | |
tree | 6a18c959769fddd3efaf3d386d6f183e5a0d7a75 /sbin | |
parent | 4e9e041e5aa51ba4c7f05052889850d9baaa682d (diff) | |
download | FreeBSD-src-0f569823418e10fb63f54a47c08752b3a29ac888.zip FreeBSD-src-0f569823418e10fb63f54a47c08752b3a29ac888.tar.gz |
When printing out the transfer rate display for 'camcontrol inquiry',
use the current setting for tagged queueing when deciding whether or not to
print "Tagged Queueing Enabled" instead of using the device's actual
capabilities.
This is more consistent with the rest of the transfer rate display, which
relies on current settings, and is more consistent with the way we display
things on boot.
Reported by: Gustavo Vieira Goncalves Coelho Rios <kernel@tdnet.com.br>
Reviewed by: mjacob
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/camcontrol/camcontrol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c index 5a0ad21..18200d6 100644 --- a/sbin/camcontrol/camcontrol.c +++ b/sbin/camcontrol/camcontrol.c @@ -932,7 +932,8 @@ scsixferrate(struct cam_device *device) fprintf(stdout, ")"); } - if (device->inq_data.flags & SID_CmdQue) + if (((ccb->cts.valid & CCB_TRANS_TQ_VALID) != 0) + && (ccb->cts.flags & CCB_TRANS_TAG_ENB)) fprintf(stdout, ", Tagged Queueing Enabled"); fprintf(stdout, "\n"); |