Fixes SAM violation, noticed by Sudhakar <ssudhakarp@gmail.com>. Plus, Windows requires it to automatically support LUNs >8, see http://support.microsoft.com/kb/310072/en-us

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@520 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2008-10-08 17:59:11 +00:00
parent 50af04800a
commit 6181fda851
2 changed files with 2 additions and 2 deletions

View File

@@ -1209,7 +1209,7 @@ static void vdisk_exec_inquiry(struct scst_cmd *cmd)
}
buf[2] = 4; /* Device complies to this standard - SPC-2 */
buf[3] = 2; /* data in format specified in this standard */
buf[3] = 0x12; /* HiSup + data in format specified in SPC-2 */
buf[4] = 31; /* n - 4 = 35 - 4 = 31 for full 36 byte data */
buf[6] = 0; buf[7] = 2; /* BQue = 0, CMDQUE = 1 commands queuing supported */

View File

@@ -944,7 +944,7 @@ static void exec_inquiry(struct vdisk_cmd *vcmd)
}
buf[2] = 4; /* Device complies to this standard - SPC-2 */
buf[3] = 2; /* data in format specified in this standard */
buf[3] = 0x12; /* HiSup + data in format specified in SPC-2 */
buf[4] = 31; /* n - 4 = 35 - 4 = 31 for full 36 byte data */
buf[6] = 0; buf[7] = 2; /* BQue = 0, CMDQUE = 1 commands queuing supported */