net: mvpp2: AN Bypass in 1000 and 2500 basex mode
Signed-off-by: Ben Peled <bpeled@marvell.com> Reviewed-by: Stefan Chulski <stefanc@marvell.com> Reviewed-by: Kostya Porotchkin <kostap@marvell.com> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
@@ -3148,7 +3148,8 @@ static void gop_gmac_2500basex_cfg(struct mvpp2_port *port)
|
||||
* bypass enabled (link interrupt storm risk
|
||||
* otherwise).
|
||||
*/
|
||||
val = MVPP2_GMAC_EN_PCS_AN |
|
||||
val = MVPP2_GMAC_AN_BYPASS_EN |
|
||||
MVPP2_GMAC_EN_PCS_AN |
|
||||
MVPP2_GMAC_CONFIG_GMII_SPEED |
|
||||
MVPP2_GMAC_CONFIG_FULL_DUPLEX |
|
||||
MVPP2_GMAC_CHOOSE_SAMPLE_TX_CONFIG;
|
||||
@@ -3188,7 +3189,8 @@ static void gop_gmac_1000basex_cfg(struct mvpp2_port *port)
|
||||
* bypass enabled (link interrupt storm risk
|
||||
* otherwise).
|
||||
*/
|
||||
val = MVPP2_GMAC_EN_PCS_AN |
|
||||
val = MVPP2_GMAC_AN_BYPASS_EN |
|
||||
MVPP2_GMAC_EN_PCS_AN |
|
||||
MVPP2_GMAC_CONFIG_GMII_SPEED |
|
||||
MVPP2_GMAC_CONFIG_FULL_DUPLEX |
|
||||
MVPP2_GMAC_CHOOSE_SAMPLE_TX_CONFIG;
|
||||
|
||||
Reference in New Issue
Block a user