Skip to contentSkip to conversation

SCSI sense buffer size -> 96

PATCH Kurt Garloff 1 participant 1 message Mar 30, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

Hi,

some SCSI devices need more than 64bytes of sense buffer. I know about one: The IBM MagStar tapes report the necessity to be cleaned at bytes 70 and report 96 bytes in total.

Attached patch increases the sense buffer size to 96 bytes.

Regards,

Signature · 2 lines
Kurt Garloff  <[email protected]>                            Cologne, DE 
SUSE LINUX AG, Nuernberg, DE                          SUSE Labs (Head)
include/scsi/scsi_cmnd.h renamed from include/scsi/scsi_cmnd.h.orig +1 -1
@@ -112,7 +112,7 @@
 	struct request *request;	/* The command we are
 				   	   working on */
 
-#define SCSI_SENSE_BUFFERSIZE 	64
+#define SCSI_SENSE_BUFFERSIZE 	96
 	unsigned char sense_buffer[SCSI_SENSE_BUFFERSIZE];		/* obtained by REQUEST SENSE
 						 * when CHECK CONDITION is
 						 * received on original command