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/qla4xxx | |
| 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/qla4xxx')
| -rw-r--r-- | drivers/scsi/qla4xxx/ql4_os.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 784f59e55510..f8724f2e0158 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c | |||
| @@ -162,7 +162,6 @@ static int qla4xxx_eh_device_reset(struct scsi_cmnd *cmd); | |||
| 162 | static int qla4xxx_eh_target_reset(struct scsi_cmnd *cmd); | 162 | static int qla4xxx_eh_target_reset(struct scsi_cmnd *cmd); |
| 163 | static int qla4xxx_eh_host_reset(struct scsi_cmnd *cmd); | 163 | static int qla4xxx_eh_host_reset(struct scsi_cmnd *cmd); |
| 164 | static int qla4xxx_slave_alloc(struct scsi_device *device); | 164 | static int qla4xxx_slave_alloc(struct scsi_device *device); |
| 165 | static int qla4xxx_slave_configure(struct scsi_device *device); | ||
| 166 | static umode_t qla4_attr_is_visible(int param_type, int param); | 165 | static umode_t qla4_attr_is_visible(int param_type, int param); |
| 167 | static int qla4xxx_host_reset(struct Scsi_Host *shost, int reset_type); | 166 | static int qla4xxx_host_reset(struct Scsi_Host *shost, int reset_type); |
| 168 | static int qla4xxx_change_queue_depth(struct scsi_device *sdev, int qdepth, | 167 | static int qla4xxx_change_queue_depth(struct scsi_device *sdev, int qdepth, |
| @@ -203,7 +202,6 @@ static struct scsi_host_template qla4xxx_driver_template = { | |||
| 203 | .eh_host_reset_handler = qla4xxx_eh_host_reset, | 202 | .eh_host_reset_handler = qla4xxx_eh_host_reset, |
| 204 | .eh_timed_out = qla4xxx_eh_cmd_timed_out, | 203 | .eh_timed_out = qla4xxx_eh_cmd_timed_out, |
| 205 | 204 | ||
| 206 | .slave_configure = qla4xxx_slave_configure, | ||
| 207 | .slave_alloc = qla4xxx_slave_alloc, | 205 | .slave_alloc = qla4xxx_slave_alloc, |
| 208 | .change_queue_depth = qla4xxx_change_queue_depth, | 206 | .change_queue_depth = qla4xxx_change_queue_depth, |
| 209 | 207 | ||
| @@ -9059,7 +9057,6 @@ static int qla4xxx_slave_alloc(struct scsi_device *sdev) | |||
| 9059 | ddb = sess->dd_data; | 9057 | ddb = sess->dd_data; |
| 9060 | 9058 | ||
| 9061 | sdev->hostdata = ddb; | 9059 | sdev->hostdata = ddb; |
| 9062 | sdev->tagged_supported = 1; | ||
| 9063 | 9060 | ||
| 9064 | if (ql4xmaxqdepth != 0 && ql4xmaxqdepth <= 0xffffU) | 9061 | if (ql4xmaxqdepth != 0 && ql4xmaxqdepth <= 0xffffU) |
| 9065 | queue_depth = ql4xmaxqdepth; | 9062 | queue_depth = ql4xmaxqdepth; |
| @@ -9068,12 +9065,6 @@ static int qla4xxx_slave_alloc(struct scsi_device *sdev) | |||
| 9068 | return 0; | 9065 | return 0; |
| 9069 | } | 9066 | } |
| 9070 | 9067 | ||
| 9071 | static int qla4xxx_slave_configure(struct scsi_device *sdev) | ||
| 9072 | { | ||
| 9073 | sdev->tagged_supported = 1; | ||
| 9074 | return 0; | ||
| 9075 | } | ||
| 9076 | |||
| 9077 | static int qla4xxx_change_queue_depth(struct scsi_device *sdev, int qdepth, | 9068 | static int qla4xxx_change_queue_depth(struct scsi_device *sdev, int qdepth, |
| 9078 | int reason) | 9069 | int reason) |
| 9079 | { | 9070 | { |
