diff options
author | Vladislav Zolotarov <vladz@broadcom.com> | 2011-07-21 03:56:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-21 15:33:56 -0400 |
commit | bf61ee146749de86a5ac46b25d28f8da5bb39d03 (patch) | |
tree | 01e73869a9aee32b72c1ac7203f4bd2036a68f91 /drivers/net/bnx2x/bnx2x_cmn.h | |
parent | 7ad711b49e661a0979ed1a84bed16bc9fa7f872b (diff) |
bnx2x: Implementation for netdev->ndo_fcoe_get_wwn
Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_cmn.h')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_cmn.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x_cmn.h b/drivers/net/bnx2x/bnx2x_cmn.h index 83d7d1bb7b12..223bfeebc597 100644 --- a/drivers/net/bnx2x/bnx2x_cmn.h +++ b/drivers/net/bnx2x/bnx2x_cmn.h | |||
@@ -522,6 +522,17 @@ void bnx2x_free_mem_bp(struct bnx2x *bp); | |||
522 | */ | 522 | */ |
523 | int bnx2x_change_mtu(struct net_device *dev, int new_mtu); | 523 | int bnx2x_change_mtu(struct net_device *dev, int new_mtu); |
524 | 524 | ||
525 | #if defined(BCM_CNIC) && (defined(CONFIG_FCOE) || defined(CONFIG_FCOE_MODULE)) | ||
526 | /** | ||
527 | * bnx2x_fcoe_get_wwn - return the requested WWN value for this port | ||
528 | * | ||
529 | * @dev: net_device | ||
530 | * @wwn: output buffer | ||
531 | * @type: WWN type: NETDEV_FCOE_WWNN (node) or NETDEV_FCOE_WWPN (port) | ||
532 | * | ||
533 | */ | ||
534 | int bnx2x_fcoe_get_wwn(struct net_device *dev, u64 *wwn, int type); | ||
535 | #endif | ||
525 | u32 bnx2x_fix_features(struct net_device *dev, u32 features); | 536 | u32 bnx2x_fix_features(struct net_device *dev, u32 features); |
526 | int bnx2x_set_features(struct net_device *dev, u32 features); | 537 | int bnx2x_set_features(struct net_device *dev, u32 features); |
527 | 538 | ||