[SCSI] lpfc 8.3.20: Implement new SLI4 init procedures based on if_type
authorJames Smart <james.smart@emulex.com>
Wed, 15 Dec 2010 22:57:46 +0000 (17:57 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:37:23 +0000 (12:37 -0600)
commit2fcee4bf874a8ae72ada68b62728d1fdeb30e3d4
tree8664c529ffcc3e6967e55116b375ff078a455b8b
parent70f3c073362ef7b5e55c92b83eb2dd9a7fb4e9bf
[SCSI] lpfc 8.3.20: Implement new SLI4 init procedures based on if_type

Implement new SLI4 init procedures based on if_type:

- Add structure changes for new SLIPORT registers and BAR changes.
- Update register names to be consistent with inteface spec terms.
- Added union to encapsulate Hardward error registers.
- Rework lpfc_sli4_post_status_check() around SLI-4's SLI_INTF type
- Removed the lpfc_sli4_fw_cfg_check routine
- Segmented driver logic to include evaluation of the if_type to
  engage different behaviors.

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