aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_link.h
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-08-12 04:23:11 -0400
committerDavid S. Miller <davem@davemloft.net>2009-08-13 02:02:32 -0400
commitf57a60256d02daba1316c98da472f02cd98a58d3 (patch)
treec927a54bf16050d43418c11404afc1fd78370940 /drivers/net/bnx2x_link.h
parent01cd452846c98609dd3efbee0deea050e6706f02 (diff)
bnx2x: Supporting PHY FW upgrade
There are 3 operations that the driver needs to support to allow applications to access the PHY FW (on top of the MDC/MDIO access). Since those are essentially nvram access commands, adding them to the ethtool -E interface. Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_link.h')
-rw-r--r--drivers/net/bnx2x_link.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/bnx2x_link.h b/drivers/net/bnx2x_link.h
index d25ef45d793f..9805d210c028 100644
--- a/drivers/net/bnx2x_link.h
+++ b/drivers/net/bnx2x_link.h
@@ -187,6 +187,10 @@ u8 bnx2x_test_link(struct link_params *input, struct link_vars *vars);
187/* One-time initialization for external phy after power up */ 187/* One-time initialization for external phy after power up */
188u8 bnx2x_common_init_phy(struct bnx2x *bp, u32 shmem_base); 188u8 bnx2x_common_init_phy(struct bnx2x *bp, u32 shmem_base);
189 189
190/* Reset the external PHY using GPIO */
191void bnx2x_ext_phy_hw_reset(struct bnx2x *bp, u8 port);
192
193void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, u8 port, u8 phy_addr);
190 194
191u8 bnx2x_read_sfp_module_eeprom(struct link_params *params, u16 addr, 195u8 bnx2x_read_sfp_module_eeprom(struct link_params *params, u16 addr,
192 u8 byte_cnt, u8 *o_buf); 196 u8 byte_cnt, u8 *o_buf);