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

Madalin Bucur madalin.bucur at nxp.com
Tue Dec 20 07:42:43 AEDT 2016


QSGMII ports were not advertising 1G speed.

Signed-off-by: Madalin Bucur <madalin.bucur at nxp.com>
Reviewed-by: Camelia Groza <camelia.groza at nxp.com>
---
 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



More information about the Linuxppc-dev mailing list