[SCSI] bfa: Driver initialization and model description fix
authorKrishna Gudipati <kgudipat@brocade.com>
Mon, 13 Jun 2011 22:54:31 +0000 (15:54 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Jun 2011 20:56:05 +0000 (15:56 -0500)
commit75332a70a84908810ab5f525b03f230be9e31753
treef15001807ccaf2b9857e6de82640faff160c7bb1
parente2187d7f38967aeaf4148cdbe3498f76f4f71bca
[SCSI] bfa: Driver initialization and model description fix

- Moved FCS initialization, which internally does the im_port creation
  as well as the scsi_host creation before bfa_init.

Once the bfa_init is complete & successful:
- Reset the FCS base port cfg params such as pwwn/nwwn and setup fc host
  params - based on the values learned during the ioc getattr request.
- Change needed to support BSG commands even on bfa init failure.
- Model description fixes for Brocade adapters.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfa_fcs.c
drivers/scsi/bfa/bfa_fcs.h
drivers/scsi/bfa/bfa_ioc.h
drivers/scsi/bfa/bfad.c
drivers/scsi/bfa/bfad_attr.c
drivers/scsi/bfa/bfad_im.c