diff options
author | Christoph Hellwig <hch@lst.de> | 2014-11-03 14:40:56 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-12 05:19:44 -0500 |
commit | ee11560f3ad150a1108d261cbff4fd617cc3fa09 (patch) | |
tree | cd833160e0d5ef6e2e83714d8e15385c5ca2dfaf /drivers/scsi/stex.c | |
parent | c8b09f6fb67df7fc1b51ced1037fa9b677428149 (diff) |
scsi: don't force tagged_supported in drivers
Now that we also get proper values in cmd->request->tag for untagged
commands, there is no need to force tagged_supported to on in drivers
that need host-wide tags.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'drivers/scsi/stex.c')
-rw-r--r-- | drivers/scsi/stex.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c index 2bb8a9e74dac..98a62bc15069 100644 --- a/drivers/scsi/stex.c +++ b/drivers/scsi/stex.c | |||
@@ -544,21 +544,11 @@ stex_ss_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) | |||
544 | } | 544 | } |
545 | 545 | ||
546 | static int | 546 | static int |
547 | stex_slave_alloc(struct scsi_device *sdev) | ||
548 | { | ||
549 | /* Cheat: usually extracted from Inquiry data */ | ||
550 | sdev->tagged_supported = 1; | ||
551 | |||
552 | return 0; | ||
553 | } | ||
554 | |||
555 | static int | ||
556 | stex_slave_config(struct scsi_device *sdev) | 547 | stex_slave_config(struct scsi_device *sdev) |
557 | { | 548 | { |
558 | sdev->use_10_for_rw = 1; | 549 | sdev->use_10_for_rw = 1; |
559 | sdev->use_10_for_ms = 1; | 550 | sdev->use_10_for_ms = 1; |
560 | blk_queue_rq_timeout(sdev->request_queue, 60 * HZ); | 551 | blk_queue_rq_timeout(sdev->request_queue, 60 * HZ); |
561 | sdev->tagged_supported = 1; | ||
562 | 552 | ||
563 | return 0; | 553 | return 0; |
564 | } | 554 | } |
@@ -1380,7 +1370,6 @@ static struct scsi_host_template driver_template = { | |||
1380 | .proc_name = DRV_NAME, | 1370 | .proc_name = DRV_NAME, |
1381 | .bios_param = stex_biosparam, | 1371 | .bios_param = stex_biosparam, |
1382 | .queuecommand = stex_queuecommand, | 1372 | .queuecommand = stex_queuecommand, |
1383 | .slave_alloc = stex_slave_alloc, | ||
1384 | .slave_configure = stex_slave_config, | 1373 | .slave_configure = stex_slave_config, |
1385 | .eh_abort_handler = stex_abort, | 1374 | .eh_abort_handler = stex_abort, |
1386 | .eh_host_reset_handler = stex_reset, | 1375 | .eh_host_reset_handler = stex_reset, |