diff options
Diffstat (limited to 'drivers/scsi/ibmvscsi/ibmvscsi.c')
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvscsi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c index 5f2396c03958..50120c8c164b 100644 --- a/drivers/scsi/ibmvscsi/ibmvscsi.c +++ b/drivers/scsi/ibmvscsi/ibmvscsi.c | |||
@@ -1386,8 +1386,10 @@ static int ibmvscsi_slave_configure(struct scsi_device *sdev) | |||
1386 | unsigned long lock_flags = 0; | 1386 | unsigned long lock_flags = 0; |
1387 | 1387 | ||
1388 | spin_lock_irqsave(shost->host_lock, lock_flags); | 1388 | spin_lock_irqsave(shost->host_lock, lock_flags); |
1389 | if (sdev->type == TYPE_DISK) | 1389 | if (sdev->type == TYPE_DISK) { |
1390 | sdev->allow_restart = 1; | 1390 | sdev->allow_restart = 1; |
1391 | sdev->timeout = 60 * HZ; | ||
1392 | } | ||
1391 | scsi_adjust_queue_depth(sdev, 0, shost->cmd_per_lun); | 1393 | scsi_adjust_queue_depth(sdev, 0, shost->cmd_per_lun); |
1392 | spin_unlock_irqrestore(shost->host_lock, lock_flags); | 1394 | spin_unlock_irqrestore(shost->host_lock, lock_flags); |
1393 | return 0; | 1395 | return 0; |