mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
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:
@@ -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 */
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user