Commit 8378b9c6 authored by Kurt Garloff's avatar Kurt Garloff Committed by James Bottomley

[PATCH] SCSI sense buffer size -> 96

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.
parent 7d613cda
......@@ -112,7 +112,7 @@ struct scsi_cmnd {
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment