diff options
Diffstat (limited to 'drivers/net/ethernet/marvell')
-rw-r--r-- | drivers/net/ethernet/marvell/mvneta.c | 6 | ||||
-rw-r--r-- | drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index 00402c252325..bf1f5151c203 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -3967,7 +3967,7 @@ static unsigned int mvneta_pcs_query_inband(struct phylink_pcs *pcs, * Therefore, inband is "required". */ if (phy_interface_mode_is_8023z(interface)) - return LINK_INBAND_VALID | LINK_INBAND_REQUIRED; + return LINK_INBAND_ENABLE; /* QSGMII, SGMII and RGMII can be configured to use inband * signalling of the AN result. Indicate these as "possible". @@ -3975,10 +3975,10 @@ static unsigned int mvneta_pcs_query_inband(struct phylink_pcs *pcs, if (interface == PHY_INTERFACE_MODE_SGMII || interface == PHY_INTERFACE_MODE_QSGMII || phy_interface_mode_is_rgmii(interface)) - return LINK_INBAND_VALID | LINK_INBAND_POSSIBLE; + return LINK_INBAND_DISABLE | LINK_INBAND_ENABLE; /* For any other modes, indicate that inband is not supported. */ - return LINK_INBAND_VALID; + return LINK_INBAND_DISABLE; } static void mvneta_pcs_get_state(struct phylink_pcs *pcs, diff --git a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c index 97e38f61ac65..82c49095c045 100644 --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c @@ -6224,17 +6224,17 @@ static unsigned int mvpp2_gmac_pcs_query_inband(struct phylink_pcs *pcs, * Therefore, inband is "required". */ if (phy_interface_mode_is_8023z(interface)) - return LINK_INBAND_VALID | LINK_INBAND_REQUIRED; + return LINK_INBAND_ENABLE; /* SGMII and RGMII can be configured to use inband signalling of the * AN result. Indicate these as "possible". */ if (interface == PHY_INTERFACE_MODE_SGMII || phy_interface_mode_is_rgmii(interface)) - return LINK_INBAND_VALID | LINK_INBAND_POSSIBLE; + return LINK_INBAND_DISABLE | LINK_INBAND_ENABLE; /* For any other modes, indicate that inband is not supported. */ - return LINK_INBAND_VALID; + return LINK_INBAND_DISABLE; } static void mvpp2_gmac_pcs_get_state(struct phylink_pcs *pcs, |