diff options
author | Robert Love <robert.w.love@intel.com> | 2013-03-25 19:00:28 +0100 |
---|---|---|
committer | Robert Love <robert.w.love@intel.com> | 2013-03-26 00:03:03 +0100 |
commit | 0807619d3c64d935c257a377ac86982c777f969c (patch) | |
tree | 694bc549a00c1128ba304c362504ed5c73848ed5 /drivers/scsi/bnx2fc | |
parent | libfc, fcoe, bnx2fc: Always use fcoe_disc_init for discovery layer initializa... (diff) | |
download | linux-0807619d3c64d935c257a377ac86982c777f969c.tar.xz linux-0807619d3c64d935c257a377ac86982c777f969c.zip |
libfc, fcoe, bnx2fc: Split fc_disc_init into fc_disc_{init, config}
Split discovery initialization in code that is setup once (fcoe_disc_init)
and code that can be re-configured (fcoe_disc_config).
Signed-off-by: Robert Love <robert.w.love@intel.com>
Tested-by: Jack Morgan <jack.morgan@intel.com>
Reviewed-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Diffstat (limited to 'drivers/scsi/bnx2fc')
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c index b867b1bfa908..90bc7bd00966 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c +++ b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c @@ -939,7 +939,8 @@ static int bnx2fc_libfc_config(struct fc_lport *lport) fc_elsct_init(lport); fc_exch_init(lport); fc_rport_init(lport); - fc_disc_init(lport, lport); + fc_disc_init(lport); + fc_disc_config(lport, lport); return 0; } |