[SCSI] lpfc 8.3.13: Initialization code clean up and fixes.
commit6e7288d9a4b6691bf13fb07e3593d70d725d0737
authorJames Smart <james.smart@emulex.com>
Mon, 7 Jun 2010 19:23:35 +0000 (7 15:23 -0400)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:01:32 +0000 (27 12:01 -0500)
tree96541fadecb72ba942848da0c7ae71d772392849
parentffc954936b134cc6d2eba1282cc71084929c3704
[SCSI] lpfc 8.3.13: Initialization code clean up and fixes.

- Add poll or wait flag parameter to hba_init_link and hba_down_link.
- (From Linux Community) Make return with ENXIO negative.
- Remove unused INB code from driver.
- Prevent block_magmt_io from returning until mailbox is inactive.

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_hw.h
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_mbox.c
drivers/scsi/lpfc/lpfc_sli.c