diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2010-03-04 04:43:19 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-03-04 13:43:40 +0300 |
commit | 5b098082e22c168b7df4c5c3cd924047cee7d995 (patch) | |
tree | f4d40a769b8793382f7e11c1439f1bccb29729d8 /drivers/scsi/bfa/bfa_fcs.c | |
parent | ab5336189a12b6561a1b5708d782a4e27e2e3b79 (diff) | |
download | linux-5b098082e22c168b7df4c5c3cd924047cee7d995.tar.xz |
[SCSI] bfa: Changes to support FDMI Driver Parameter
Added a FCS function to be called during driver init, to set the FDMI
Driver parameter.
fdmi.c: Created a disabled state when fdmi is disabled.
bfad.c:
* Added fdmi_enable driver parameter.
* Added support to call bfa_fcs_set_fdmi_param() to initialize fcs
fdmi setting.
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/bfa_fcs.c')
-rw-r--r-- | drivers/scsi/bfa/bfa_fcs.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfa_fcs.c b/drivers/scsi/bfa/bfa_fcs.c index 7cb39a306ea9..50120c285fff 100644 --- a/drivers/scsi/bfa/bfa_fcs.c +++ b/drivers/scsi/bfa/bfa_fcs.c @@ -127,6 +127,23 @@ bfa_fcs_driver_info_init(struct bfa_fcs_s *fcs, } /** + * @brief + * FCS FDMI Driver Parameter Initialization + * + * @param[in] fcs FCS instance + * @param[in] fdmi_enable TRUE/FALSE + * + * @return None + */ +void +bfa_fcs_set_fdmi_param(struct bfa_fcs_s *fcs, bfa_boolean_t fdmi_enable) +{ + + fcs->fdmi_enabled = fdmi_enable; + +} + +/** * FCS instance cleanup and exit. * * param[in] fcs FCS instance |