diff options
| -rw-r--r-- | drivers/scsi/aacraid/linit.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 22ecacffeca6..598d6efae53e 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c | |||
| @@ -413,13 +413,16 @@ static int aac_slave_configure(struct scsi_device *sdev) | |||
| 413 | if (chn < AAC_MAX_BUSES && tid < AAC_MAX_TARGETS && aac->sa_firmware) { | 413 | if (chn < AAC_MAX_BUSES && tid < AAC_MAX_TARGETS && aac->sa_firmware) { |
| 414 | devtype = aac->hba_map[chn][tid].devtype; | 414 | devtype = aac->hba_map[chn][tid].devtype; |
| 415 | 415 | ||
| 416 | if (devtype == AAC_DEVTYPE_NATIVE_RAW) | 416 | if (devtype == AAC_DEVTYPE_NATIVE_RAW) { |
| 417 | depth = aac->hba_map[chn][tid].qd_limit; | 417 | depth = aac->hba_map[chn][tid].qd_limit; |
| 418 | else if (devtype == AAC_DEVTYPE_ARC_RAW) | 418 | set_timeout = 1; |
| 419 | goto common_config; | ||
| 420 | } | ||
| 421 | if (devtype == AAC_DEVTYPE_ARC_RAW) { | ||
| 419 | set_qd_dev_type = true; | 422 | set_qd_dev_type = true; |
| 420 | 423 | set_timeout = 1; | |
| 421 | set_timeout = 1; | 424 | goto common_config; |
| 422 | goto common_config; | 425 | } |
| 423 | } | 426 | } |
| 424 | 427 | ||
| 425 | if (aac->jbod && (sdev->type == TYPE_DISK)) | 428 | if (aac->jbod && (sdev->type == TYPE_DISK)) |
