diff options
author | Mintz Yuval <yuvalmin@broadcom.com> | 2012-02-15 06:10:32 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-16 00:30:50 +0400 |
commit | a1e785e02bb53573443c7e58a444cef1a049f6ce (patch) | |
tree | bd326fdd3205dcceb67e01ef21eccf8eeed7bfa4 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | |
parent | 04f2d51313938d004983652ea6162d4940d83a04 (diff) | |
download | linux-a1e785e02bb53573443c7e58a444cef1a049f6ce.tar.xz |
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.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c index 57fe056bc5e0..beb4cdbdb6e1 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c @@ -6042,8 +6042,8 @@ static int bnx2x_null_format_ver(u32 spirom_ver, u8 *str, u16 *len) return 0; } -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) { struct bnx2x *bp; u32 spirom_ver = 0; |