diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/ipr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index c72014a3e7d4..79fd2436bd70 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -3937,7 +3937,7 @@ static int __ipr_eh_dev_reset(struct scsi_cmnd * scsi_cmd) | |||
3937 | if (ipr_is_gata(res) && res->sata_port) { | 3937 | if (ipr_is_gata(res) && res->sata_port) { |
3938 | ap = res->sata_port->ap; | 3938 | ap = res->sata_port->ap; |
3939 | spin_unlock_irq(scsi_cmd->device->host->host_lock); | 3939 | spin_unlock_irq(scsi_cmd->device->host->host_lock); |
3940 | ata_do_eh(ap, NULL, NULL, ipr_sata_reset, NULL); | 3940 | ata_std_error_handler(ap); |
3941 | spin_lock_irq(scsi_cmd->device->host->host_lock); | 3941 | spin_lock_irq(scsi_cmd->device->host->host_lock); |
3942 | 3942 | ||
3943 | list_for_each_entry(ipr_cmd, &ioa_cfg->pending_q, queue) { | 3943 | list_for_each_entry(ipr_cmd, &ioa_cfg->pending_q, queue) { |
@@ -5275,6 +5275,7 @@ static struct ata_port_operations ipr_sata_ops = { | |||
5275 | .check_altstatus = ipr_ata_check_altstatus, | 5275 | .check_altstatus = ipr_ata_check_altstatus, |
5276 | .dev_select = ata_noop_dev_select, | 5276 | .dev_select = ata_noop_dev_select, |
5277 | .phy_reset = ipr_ata_phy_reset, | 5277 | .phy_reset = ipr_ata_phy_reset, |
5278 | .hardreset = ipr_sata_reset, | ||
5278 | .post_internal_cmd = ipr_ata_post_internal, | 5279 | .post_internal_cmd = ipr_ata_post_internal, |
5279 | .tf_read = ipr_tf_read, | 5280 | .tf_read = ipr_tf_read, |
5280 | .qc_prep = ata_noop_qc_prep, | 5281 | .qc_prep = ata_noop_qc_prep, |