diff options
Diffstat (limited to 'drivers/scsi/scsi_scan.c')
-rw-r--r-- | drivers/scsi/scsi_scan.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index 408891cb14ff..d97597e6337e 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c | |||
@@ -292,7 +292,7 @@ static struct scsi_device *scsi_alloc_sdev(struct scsi_target *starget, | |||
292 | blk_queue_init_tags(sdev->request_queue, | 292 | blk_queue_init_tags(sdev->request_queue, |
293 | sdev->host->cmd_per_lun, shost->bqt); | 293 | sdev->host->cmd_per_lun, shost->bqt); |
294 | } | 294 | } |
295 | scsi_adjust_queue_depth(sdev, 0, sdev->host->cmd_per_lun); | 295 | scsi_adjust_queue_depth(sdev, sdev->host->cmd_per_lun); |
296 | 296 | ||
297 | scsi_sysfs_device_initialize(sdev); | 297 | scsi_sysfs_device_initialize(sdev); |
298 | 298 | ||
@@ -880,8 +880,10 @@ static int scsi_add_lun(struct scsi_device *sdev, unsigned char *inq_result, | |||
880 | (inq_result[3] & 0x0f) == 1 ? " CCS" : ""); | 880 | (inq_result[3] & 0x0f) == 1 ? " CCS" : ""); |
881 | 881 | ||
882 | if ((sdev->scsi_level >= SCSI_2) && (inq_result[7] & 2) && | 882 | if ((sdev->scsi_level >= SCSI_2) && (inq_result[7] & 2) && |
883 | !(*bflags & BLIST_NOTQ)) | 883 | !(*bflags & BLIST_NOTQ)) { |
884 | sdev->tagged_supported = 1; | 884 | sdev->tagged_supported = 1; |
885 | sdev->simple_tags = 1; | ||
886 | } | ||
885 | 887 | ||
886 | /* | 888 | /* |
887 | * Some devices (Texel CD ROM drives) have handshaking problems | 889 | * Some devices (Texel CD ROM drives) have handshaking problems |