X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=drivers%2Fscsi%2Fdpt_i2o.c;h=0bf976936a103bc197b74e7a9ef8036ed91093b9;hb=1888d2fa314033755026ceddee1fff8f80659fe4;hp=072f0ec2851e252d8ccaf2a1dd1d0b26742079fc;hpb=6e2028aaa1373081e553d4442736ce0d1dd279e8;p=cascardo%2Flinux.git diff --git a/drivers/scsi/dpt_i2o.c b/drivers/scsi/dpt_i2o.c index 072f0ec2851e..0bf976936a10 100644 --- a/drivers/scsi/dpt_i2o.c +++ b/drivers/scsi/dpt_i2o.c @@ -415,10 +415,8 @@ static int adpt_slave_configure(struct scsi_device * device) pHba = (adpt_hba *) host->hostdata[0]; if (host->can_queue && device->tagged_supported) { - scsi_adjust_queue_depth(device, MSG_SIMPLE_TAG, + scsi_change_queue_depth(device, host->can_queue - 1); - } else { - scsi_adjust_queue_depth(device, 0, 1); } return 0; }