diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2011-11-13 04:34:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-13 16:03:54 -0500 |
commit | b306f5edf6615d3abeba16914872c24c9be29051 (patch) | |
tree | a21769a5afdbadacd35aeed65179a601634b323d /drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | |
parent | ad756594a8d88ffc048d14b8d5c02971e08856ce (diff) | |
download | linux-b306f5edf6615d3abeba16914872c24c9be29051.tar.gz linux-b306f5edf6615d3abeba16914872c24c9be29051.tar.bz2 linux-b306f5edf6615d3abeba16914872c24c9be29051.zip |
bnx2x: separate FCoE and iSCSI license initialization.
FCoE license info must be initialized at probe(), but
iSCSI at open().
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h index 4a16757793f4..c1d7833c42e6 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h @@ -1489,4 +1489,14 @@ static inline u16 bnx2x_extract_max_cfg(struct bnx2x *bp, u32 mf_cfg) return max_cfg; } +#ifdef BCM_CNIC +/** + * bnx2x_get_iscsi_info - update iSCSI params according to licensing info. + * + * @bp: driver handle + * + */ +void bnx2x_get_iscsi_info(struct bnx2x *bp); +#endif + #endif /* BNX2X_CMN_H */ |