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
This commit is contained in:
parent
bac7e45e00
commit
9f4285439a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62196
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user