aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ipr.c
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2007-04-26 17:00:08 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-05-06 10:33:19 -0400
commit6bb0417074e914e8d002df20c419e67732ae103e (patch)
treee2b30d1e17c769276fb068b5f34532e2d1480578 /drivers/scsi/ipr.c
parent68c96e5960e6f4b0ce7cf6034f252294484f78a8 (diff)
[SCSI] ipr: Handle UA on disk array following an adapter reset
On certain ipr RAID adapters, which are capable of multi-initiator configurations, the disk array, or VSET, resources will be in a POR Unit Attention state following an adapter reset. In order for the midlayer to handle the UA, I must report a bus reset to the logical disk array bus at the end of an adapter reset. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ipr.c')
-rw-r--r--drivers/scsi/ipr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c
index 818ebf3f008f..0724b5810ee2 100644
--- a/drivers/scsi/ipr.c
+++ b/drivers/scsi/ipr.c
@@ -5373,6 +5373,7 @@ static int ipr_ioa_reset_done(struct ipr_cmnd *ipr_cmd)
5373 ipr_send_hcam(ioa_cfg, IPR_HCAM_CDB_OP_CODE_CONFIG_CHANGE, hostrcb); 5373 ipr_send_hcam(ioa_cfg, IPR_HCAM_CDB_OP_CODE_CONFIG_CHANGE, hostrcb);
5374 } 5374 }
5375 5375
5376 scsi_report_bus_reset(ioa_cfg->host, IPR_VSET_BUS);
5376 dev_info(&ioa_cfg->pdev->dev, "IOA initialized.\n"); 5377 dev_info(&ioa_cfg->pdev->dev, "IOA initialized.\n");
5377 5378
5378 ioa_cfg->reset_retries = 0; 5379 ioa_cfg->reset_retries = 0;