Skip to content

Commit

Permalink
[SCSI] qla2xxx: AER Support-Return recovered from mmio_enable functio…
Browse files Browse the repository at this point in the history
…n 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>
  • Loading branch information
Saurav Kashyap authored and James Bottomley committed Sep 5, 2010
1 parent 58548cb commit bcc5b6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/scsi/qla2xxx/qla_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -3803,6 +3803,9 @@ qla2xxx_pci_mmio_enabled(struct pci_dev *pdev)
struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
struct device_reg_24xx __iomem *reg24 = &ha->iobase->isp24;

if (IS_QLA82XX(ha))
return PCI_ERS_RESULT_RECOVERED;

spin_lock_irqsave(&ha->hardware_lock, flags);
if (IS_QLA2100(ha) || IS_QLA2200(ha)){
stat = RD_REG_DWORD(&reg->hccr);
Expand Down

0 comments on commit bcc5b6d

Please sign in to comment.