[SCSI] lpfc 8.3.22: Add support for PCI Adapter Failure
authorJames Smart <james.smart@emulex.com>
Fri, 11 Mar 2011 21:06:12 +0000 (16:06 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 23 Mar 2011 16:36:09 +0000 (11:36 -0500)
commit9940b97bb30d7435c881418c809ed652eb329583
treed274c01b97553711c10f0d862b460aa3cd00ba02
parent7f86059ac016d8662e5fbfab4875529510977b47
[SCSI] lpfc 8.3.22: Add support for PCI Adapter Failure

Periodically poll adapter registers to detect pci adapter failure
(reads return -1). On failure, take port offline, set error indicators
and wake up worker threads. Threads will take adapter offline.

Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/lpfc/lpfc.h
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_bsg.c
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hw.h
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_sli.c