summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x/bnx2x.h
diff options
context:
space:
mode:
authorYaniv Rosner2011-05-31 23:26:11 +0200
committerDavid S. Miller2011-06-01 22:10:55 +0200
commit1ac9e4286dc9e64dd2d937df7f8660bb5f260792 (patch)
tree56e6f6f3e87b013ed78108fcc3306c3411fb6837 /drivers/net/bnx2x/bnx2x.h
parentbnx2x: Add new phy BCM8722 (diff)
downloadkernel-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.h')
-rw-r--r--drivers/net/bnx2x/bnx2x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x/bnx2x.h b/drivers/net/bnx2x/bnx2x.h
index 668a578c49e9..480e02df86ee 100644
--- a/drivers/net/bnx2x/bnx2x.h
+++ b/drivers/net/bnx2x/bnx2x.h
@@ -1492,7 +1492,7 @@ void bnx2x_invalidate_e1h_mc_list(struct bnx2x *bp);
void bnx2x_invalidate_uc_list(struct bnx2x *bp);
void bnx2x_update_coalesce(struct bnx2x *bp);
-int bnx2x_get_link_cfg_idx(struct bnx2x *bp);
+int bnx2x_get_cur_phy_idx(struct bnx2x *bp);
static inline u32 reg_poll(struct bnx2x *bp, u32 reg, u32 expected, int ms,
int wait)