[PATCH net 1/4] fsl/fman: fix 1G support for QSGMII interfaces

From: Madalin Bucur
Date: Thu Dec 15 2016 - 08:27:10 EST


QSGMII ports were not advertising 1G speed.

Signed-off-by: Madalin Bucur <madalin.bucur@xxxxxxx>
Reviewed-by: Camelia Groza <camelia.groza@xxxxxxx>
---
drivers/net/ethernet/freescale/fman/mac.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/freescale/fman/mac.c b/drivers/net/ethernet/freescale/fman/mac.c
index 69ca42c..0b31f85 100644
--- a/drivers/net/ethernet/freescale/fman/mac.c
+++ b/drivers/net/ethernet/freescale/fman/mac.c
@@ -594,6 +594,7 @@ static const u16 phy2speed[] = {
[PHY_INTERFACE_MODE_RGMII_RXID] = SPEED_1000,
[PHY_INTERFACE_MODE_RGMII_TXID] = SPEED_1000,
[PHY_INTERFACE_MODE_RTBI] = SPEED_1000,
+ [PHY_INTERFACE_MODE_QSGMII] = SPEED_1000,
[PHY_INTERFACE_MODE_XGMII] = SPEED_10000
};

--
2.1.0