aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x/bnx2x_cmn.h
diff options
context:
space:
mode:
authorVladislav Zolotarov <vladz@broadcom.com>2011-07-21 03:56:51 -0400
committerDavid S. Miller <davem@davemloft.net>2011-07-21 15:33:56 -0400
commitbf61ee146749de86a5ac46b25d28f8da5bb39d03 (patch)
tree01e73869a9aee32b72c1ac7203f4bd2036a68f91 /drivers/net/bnx2x/bnx2x_cmn.h
parent7ad711b49e661a0979ed1a84bed16bc9fa7f872b (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.h11
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 */
523int bnx2x_change_mtu(struct net_device *dev, int new_mtu); 523int 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 */
534int bnx2x_fcoe_get_wwn(struct net_device *dev, u64 *wwn, int type);
535#endif
525u32 bnx2x_fix_features(struct net_device *dev, u32 features); 536u32 bnx2x_fix_features(struct net_device *dev, u32 features);
526int bnx2x_set_features(struct net_device *dev, u32 features); 537int bnx2x_set_features(struct net_device *dev, u32 features);
527 538