diff options
Diffstat (limited to 'drivers/net/ethernet/marvell/mvneta.c')
-rw-r--r-- | drivers/net/ethernet/marvell/mvneta.c | 6 |
1 files changed, 3 insertions, 3 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, |