summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.osdl.org>2003-07-04 03:24:32 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-07-04 03:24:32 -0700
commitb79c85248a7cede77706226ec00e4eeb79eadfbe (patch)
treee87ee90c783c624fa579b9bf67205e52a3aad41f
parentc4404d6516d511008abbd1253898759dbab6855d (diff)
Go back to defaulting to 6-byte commands for MODE SENSE,
since some drivers seem to be unhappy about the 10-byte version. The subsystem configuration can override this (eg USB or ide-scsi).
-rw-r--r--drivers/scsi/scsi_scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c
index 5f9307658f4c..6720dd216fdc 100644
--- a/drivers/scsi/scsi_scan.c
+++ b/drivers/scsi/scsi_scan.c
@@ -646,7 +646,7 @@ static int scsi_add_lun(struct scsi_device *sdev, char *inq_result, int *bflags)
sdev->max_device_blocked = SCSI_DEFAULT_DEVICE_BLOCKED;
sdev->use_10_for_rw = 1;
- sdev->use_10_for_ms = 1;
+ sdev->use_10_for_ms = 0;
if(sdev->host->hostt->slave_configure)
sdev->host->hostt->slave_configure(sdev);