aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorSaurav Kashyap <saurav.kashyap@qlogic.com>2010-09-03 18:20:57 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-09-05 14:36:28 -0400
commitbcc5b6d3233688a5179f445ef06a28e055c5873a (patch)
tree1b75fe1b5fccd4a59bebfea7b37b85c2ff0bcb1f /drivers/scsi/qla2xxx/qla_os.c
parent58548cb51a824276c34a3227a4917d2e2ded0daa (diff)
[SCSI] qla2xxx: AER Support-Return recovered from mmio_enable function for 82XX.
Return recovered from pci_mmio_enabled function if it is 82XX. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 2e10f2b2e017..bdd53f0ebef0 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -3803,6 +3803,9 @@ qla2xxx_pci_mmio_enabled(struct pci_dev *pdev)
3803 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp; 3803 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
3804 struct device_reg_24xx __iomem *reg24 = &ha->iobase->isp24; 3804 struct device_reg_24xx __iomem *reg24 = &ha->iobase->isp24;
3805 3805
3806 if (IS_QLA82XX(ha))
3807 return PCI_ERS_RESULT_RECOVERED;
3808
3806 spin_lock_irqsave(&ha->hardware_lock, flags); 3809 spin_lock_irqsave(&ha->hardware_lock, flags);
3807 if (IS_QLA2100(ha) || IS_QLA2200(ha)){ 3810 if (IS_QLA2100(ha) || IS_QLA2200(ha)){
3808 stat = RD_REG_DWORD(&reg->hccr); 3811 stat = RD_REG_DWORD(&reg->hccr);