diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2012-09-20 07:35:05 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-24 12:37:48 +0400 |
commit | 39c95826018ed68216cb34a1f6eb8c6b302a24f4 (patch) | |
tree | b1681d86e110a49694d831020b668cfea4cfcf14 /drivers/scsi/qla4xxx/ql4_nx.c | |
parent | 8276190725aca00bcf8869493a5040d2eebbca31 (diff) |
[SCSI] qla4xxx: Update idc reg in case of PCI AER
Camram is reset by FW to default values after reboot/cold boot/pci reset.
In case of AER, PCI may need to reset so we need to set correct idc reg value
after PCIE error.
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_nx.c')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_nx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_nx.c b/drivers/scsi/qla4xxx/ql4_nx.c index 9b67aadf9fd..66f52d2b5cd 100644 --- a/drivers/scsi/qla4xxx/ql4_nx.c +++ b/drivers/scsi/qla4xxx/ql4_nx.c @@ -2833,7 +2833,7 @@ exit_set_idc_ver: return rval; } -static int qla4_8xxx_update_idc_reg(struct scsi_qla_host *ha) +int qla4_8xxx_update_idc_reg(struct scsi_qla_host *ha) { uint32_t drv_active; int rval = QLA_SUCCESS; |