diff options
author | Yaniv Rosner <yanivr@broadcom.com> | 2008-08-13 18:57:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-13 19:05:33 -0400 |
commit | 6bbca910e621d82b3ca93a99af9b59eb1ff3cbcd (patch) | |
tree | 1332b0eed56b157e442dc518fe8b4a63d6c1860a /drivers/net/bnx2x_link.h | |
parent | 17de50b7f71d176375e9d4d67ffce42482e5515f (diff) |
bnx2x: 8073 PHY changes
8073 PHY changes
The initial support we had for this PHY needs some serious changing. The
major change is that this PHY should be initialized only when the first
function is loaded and not for each function. The official SPI-ROM of
this PHY was released and it requires some changes in the initialization
code as well
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_link.h')
-rw-r--r-- | drivers/net/bnx2x_link.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bnx2x_link.h b/drivers/net/bnx2x_link.h index b222552b868..80c945ca3a5 100644 --- a/drivers/net/bnx2x_link.h +++ b/drivers/net/bnx2x_link.h | |||
@@ -55,6 +55,7 @@ struct link_params { | |||
55 | #define LOOPBACK_BMAC 2 | 55 | #define LOOPBACK_BMAC 2 |
56 | #define LOOPBACK_XGXS_10 3 | 56 | #define LOOPBACK_XGXS_10 3 |
57 | #define LOOPBACK_EXT_PHY 4 | 57 | #define LOOPBACK_EXT_PHY 4 |
58 | #define LOOPBACK_EXT 5 | ||
58 | 59 | ||
59 | u16 req_duplex; | 60 | u16 req_duplex; |
60 | u16 req_flow_ctrl; | 61 | u16 req_flow_ctrl; |
@@ -166,5 +167,7 @@ u8 bnx2x_flash_download(struct bnx2x *bp, u8 port, u32 ext_phy_config, | |||
166 | otherwise link is down*/ | 167 | otherwise link is down*/ |
167 | u8 bnx2x_test_link(struct link_params *input, struct link_vars *vars); | 168 | u8 bnx2x_test_link(struct link_params *input, struct link_vars *vars); |
168 | 169 | ||
170 | /* One-time initialization for external phy after power up */ | ||
171 | u8 bnx2x_common_init_phy(struct bnx2x *bp, u32 shmem_base); | ||
169 | 172 | ||
170 | #endif /* BNX2X_LINK_H */ | 173 | #endif /* BNX2X_LINK_H */ |