public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Incorrect command size for group 4 SCSI commands
@ 2001-04-18 22:03 Khalid Aziz
  0 siblings, 0 replies; only message in thread
From: Khalid Aziz @ 2001-04-18 22:03 UTC (permalink / raw)
  To: linux-kernel

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-18 22:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-18 22:03 [PATCH] Incorrect command size for group 4 SCSI commands Khalid Aziz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox