lkml.org 
[lkml]   [2001]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Incorrect command size for group 4 SCSI commands
Date
SCSI subsystem defines the size of group 4 SCSI commands as 12. This is
incorrect. SCSI-3 specs define group 4 command size as 16. Following
patch fixes this.

Thanks,
Khalid

====================================================================
Khalid Aziz Linux Development Laboratory
(970)898-9214 Hewlett-Packard
khalid@fc.hp.com Fort Collins, CO


--- linux-2.4.3-orig/drivers/scsi/scsi.c Fri Feb 9 12:30:23 2001
+++ linux-2.4.3/drivers/scsi/scsi.c Wed Apr 18 14:22:00 2001
@@ -104,7 +104,7 @@
const unsigned char scsi_command_size[8] =
{
6, 10, 10, 12,
- 12, 12, 10, 10
+ 16, 12, 10, 10
};
static unsigned long serial_number;
static Scsi_Cmnd *scsi_bh_queue_head;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.062 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site