SCSI sense buffer size -> 96
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 96unsigned char sense_buffer[SCSI_SENSE_BUFFERSIZE ];/* obtained by REQUEST SENSE * when CHECK CONDITION is * received on original command