aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/linit.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/aacraid/linit.c')
-rw-r--r--drivers/scsi/aacraid/linit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
index a759cb2d4b15..4c340d88c33d 100644
--- a/drivers/scsi/aacraid/linit.c
+++ b/drivers/scsi/aacraid/linit.c
@@ -462,9 +462,9 @@ static int aac_slave_configure(struct scsi_device *sdev)
462 depth = 256; 462 depth = 256;
463 else if (depth < 2) 463 else if (depth < 2)
464 depth = 2; 464 depth = 2;
465 scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, depth); 465 scsi_adjust_queue_depth(sdev, depth);
466 } else 466 } else
467 scsi_adjust_queue_depth(sdev, 0, 1); 467 scsi_adjust_queue_depth(sdev, 1);
468 468
469 return 0; 469 return 0;
470} 470}
@@ -504,9 +504,9 @@ static int aac_change_queue_depth(struct scsi_device *sdev, int depth,
504 depth = 256; 504 depth = 256;
505 else if (depth < 2) 505 else if (depth < 2)
506 depth = 2; 506 depth = 2;
507 scsi_adjust_queue_depth(sdev, MSG_ORDERED_TAG, depth); 507 scsi_adjust_queue_depth(sdev, depth);
508 } else 508 } else
509 scsi_adjust_queue_depth(sdev, 0, 1); 509 scsi_adjust_queue_depth(sdev, 1);
510 return sdev->queue_depth; 510 return sdev->queue_depth;
511} 511}
512 512
@@ -555,7 +555,7 @@ static int aac_eh_abort(struct scsi_cmnd* cmd)
555 AAC_DRIVERNAME, 555 AAC_DRIVERNAME,
556 host->host_no, sdev_channel(dev), sdev_id(dev), dev->lun); 556 host->host_no, sdev_channel(dev), sdev_id(dev), dev->lun);
557 switch (cmd->cmnd[0]) { 557 switch (cmd->cmnd[0]) {
558 case SERVICE_ACTION_IN: 558 case SERVICE_ACTION_IN_16:
559 if (!(aac->raw_io_interface) || 559 if (!(aac->raw_io_interface) ||
560 !(aac->raw_io_64) || 560 !(aac->raw_io_64) ||
561 ((cmd->cmnd[1] & 0x1f) != SAI_READ_CAPACITY_16)) 561 ((cmd->cmnd[1] & 0x1f) != SAI_READ_CAPACITY_16))