mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 05:36:22 +00:00
scst: fake_aca support does now work (merged revisions 2677,2680 and 2681 from the ibmvstgt-port branch).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2682 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1632,6 +1632,8 @@ static void vdisk_exec_inquiry(struct scst_cmd *cmd)
|
||||
|
||||
buf[2] = 5; /* Device complies to SPC-3 */
|
||||
buf[3] = 0x12; /* HiSup + data in format specified in SPC */
|
||||
if (cmd->tgtt->fake_aca)
|
||||
buf[3] |= 0x20;
|
||||
buf[4] = 31;/* n - 4 = 35 - 4 = 31 for full 36 byte data */
|
||||
buf[6] = 1; /* MultiP 1 */
|
||||
buf[7] = 2; /* CMDQUE 1, BQue 0 => commands queuing supported */
|
||||
|
||||
Reference in New Issue
Block a user