qla2xxx: Collect PCI register checks and board_disable scheduling
authorJoe Lawrence <joe.lawrence@stratus.com>
Tue, 26 Aug 2014 21:11:41 +0000 (17:11 -0400)
committerChristoph Hellwig <hch@lst.de>
Tue, 16 Sep 2014 16:09:59 +0000 (09:09 -0700)
commitc821e0d5b20006acdaca7aa378097a084986e37b
tree18da6d8ace17b53dcf8785bd679848eaf08d1f60
parent1a2fbf185cce45b80cfdb441fb6651c07915ddb1
qla2xxx: Collect PCI register checks and board_disable scheduling

Add an uint16_t variant of qla2x00_check_reg_for_disconnect and use
these routines to check and schedule a PCI-disconnected board from a
centralized place.

Signed-off-by: Joe Lawrence <joe.lawrence@stratus.com>
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_mr.c
drivers/scsi/qla2xxx/qla_nx.c
drivers/scsi/qla2xxx/qla_os.c