|
From: <vl...@us...> - 2006-11-15 12:14:30
|
Revision: 35
http://svn.sourceforge.net/scst/?rev=35&view=rev
Author: vlnb
Date: 2006-11-15 04:13:57 -0800 (Wed, 15 Nov 2006)
Log Message:
-----------
A small patch to fix command "Send cue sheet" transfer length.
In mmc5, it is from cdb 6-8.
Signed-Off-By Ming Zhang
Modified Paths:
--------------
trunk/scst/src/scst_lib.c
Modified: trunk/scst/src/scst_lib.c
===================================================================
--- trunk/scst/src/scst_lib.c 2006-11-14 18:44:47 UTC (rev 34)
+++ trunk/scst/src/scst_lib.c 2006-11-15 12:13:57 UTC (rev 35)
@@ -1438,8 +1438,7 @@
info_p->transfer_len = (*(cdb_p + 8));
/* opcode = READ-WRITE UPDATED BLOCK */
- if ((ptr->ops == 0x5d) ||
- (ptr->ops == UPDATE_BLOCK) ||
+ if ((ptr->ops == UPDATE_BLOCK) ||
(ptr->ops == WRITE_SAME)) {
/* the opcode always returns 1 block */
info_p->flags |= SCST_TRANSFER_LEN_TYPE_FIXED;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|