summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2010-02-10 23:51:46 +0100
committerJames Bottomley <James.Bottomley@suse.de>2010-02-17 20:40:14 +0100
commit9f9127fd0cfac1ccbcf4a9456b3d36bc6971355e (patch)
tree52fe2d8895c464710be7037f2cc04a93b16dd6f8
parent[SCSI] libiscsi: reset cmd timer if cmds are making progress (diff)
downloadlinux-9f9127fd0cfac1ccbcf4a9456b3d36bc6971355e.tar.xz
linux-9f9127fd0cfac1ccbcf4a9456b3d36bc6971355e.zip
[SCSI] bnx2i: set change_queue_depth function
No reason that we cannot set the change_queue_depth function for bnx2i. We just forgot to when the driver was created. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
-rw-r--r--drivers/scsi/bnx2i/bnx2i_iscsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/drivers/scsi/bnx2i/bnx2i_iscsi.c
index 51709cb9a93e..1c4d1215769d 100644
--- a/drivers/scsi/bnx2i/bnx2i_iscsi.c
+++ b/drivers/scsi/bnx2i/bnx2i_iscsi.c
@@ -1990,6 +1990,7 @@ static struct scsi_host_template bnx2i_host_template = {
.eh_abort_handler = iscsi_eh_abort,
.eh_device_reset_handler = iscsi_eh_device_reset,
.eh_target_reset_handler = iscsi_eh_target_reset,
+ .change_queue_depth = iscsi_change_queue_depth,
.can_queue = 1024,
.max_sectors = 127,
.cmd_per_lun = 32,