The current implementation of scsi_set_tag_type does not allow for
a transition of ordered to simple. The attached patch fixes this.

Signed-off-by: Brian King <[EMAIL PROTECTED]>
---

 linux-2.6.11-rc3-bk6-bjking1/include/scsi/scsi_tcq.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

diff -puN include/scsi/scsi_tcq.h~scsi_set_tag_type include/scsi/scsi_tcq.h
--- linux-2.6.11-rc3-bk6/include/scsi/scsi_tcq.h~scsi_set_tag_type      
2005-02-09 17:23:46.000000000 -0600
+++ linux-2.6.11-rc3-bk6-bjking1/include/scsi/scsi_tcq.h        2005-02-09 
17:24:58.000000000 -0600
@@ -38,9 +38,11 @@ static inline void scsi_set_tag_type(str
        switch (tag) {
        case MSG_ORDERED_TAG:
                sdev->ordered_tags = 1;
-               /* fall through */
+               sdev->simple_tags = 1;
+               break;
        case MSG_SIMPLE_TAG:
                sdev->simple_tags = 1;
+               sdev->ordered_tags = 0;
                break;
        case 0:
                /* fall through */
_
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to