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:
Bart Van Assche
2010-11-13 09:27:23 +00:00
parent 283a647c5e
commit 5412c63410
+2
View File
@@ -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 */