diff options
author | Yaniv Rosner | 2011-05-31 23:26:11 +0200 |
---|---|---|
committer | David S. Miller | 2011-06-01 22:10:55 +0200 |
commit | 1ac9e4286dc9e64dd2d937df7f8660bb5f260792 (patch) | |
tree | 56e6f6f3e87b013ed78108fcc3306c3411fb6837 /drivers/net/bnx2x/bnx2x_cmn.h | |
parent | bnx2x: Add new phy BCM8722 (diff) | |
download | kernel-qcow2-linux-1ac9e4286dc9e64dd2d937df7f8660bb5f260792.tar.gz kernel-qcow2-linux-1ac9e4286dc9e64dd2d937df7f8660bb5f260792.tar.xz kernel-qcow2-linux-1ac9e4286dc9e64dd2d937df7f8660bb5f260792.zip |
bnx2x: Fix port type display
Display the current media type connected to the port in ethtool.
Signed-off-by: Yaniv Rosner <yanivr@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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x_cmn.h b/drivers/net/bnx2x/bnx2x_cmn.h index 1a3545bd8a92..19f8638ed516 100644 --- a/drivers/net/bnx2x/bnx2x_cmn.h +++ b/drivers/net/bnx2x/bnx2x_cmn.h @@ -1063,6 +1063,8 @@ static inline void bnx2x_init_fcoe_fp(struct bnx2x *bp) } #endif +int bnx2x_get_link_cfg_idx(struct bnx2x *bp); + static inline void __storm_memset_struct(struct bnx2x *bp, u32 addr, size_t size, u32 *data) { |