summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h
diff options
context:
space:
mode:
authorMintz Yuval2012-02-15 03:10:32 +0100
committerDavid S. Miller2012-02-15 21:30:50 +0100
commita1e785e02bb53573443c7e58a444cef1a049f6ce (patch)
treebd326fdd3205dcceb67e01ef21eccf8eeed7bfa4 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h
parentbnx2x: removed code re-checking memory base after device open (diff)
downloadkernel-qcow2-linux-a1e785e02bb53573443c7e58a444cef1a049f6ce.tar.gz
kernel-qcow2-linux-a1e785e02bb53573443c7e58a444cef1a049f6ce.tar.xz
kernel-qcow2-linux-a1e785e02bb53573443c7e58a444cef1a049f6ce.zip
bnx2x: allow all functions to display the phy FW version
The phy FW version is stored in regular memory, no MDC-MDIO access or any special locks are required to read it in the current implementation. Signed-off-by: Yuval Mintz <yuvalmin@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_link.h')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h
index 9cc7bafb3dfe..7ba557a610da 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.h
@@ -337,8 +337,8 @@ int bnx2x_phy_write(struct link_params *params, u8 phy_addr,
void bnx2x_link_status_update(struct link_params *input,
struct link_vars *output);
/* returns string representing the fw_version of the external phy */
-int bnx2x_get_ext_phy_fw_version(struct link_params *params, u8 driver_loaded,
- u8 *version, u16 len);
+int bnx2x_get_ext_phy_fw_version(struct link_params *params, u8 *version,
+ u16 len);
/* Set/Unset the led
Basically, the CLC takes care of the led for the link, but in case one needs