QSGMII ports were not advertising 1G speed.

Signed-off-by: Madalin Bucur <madalin.bu...@nxp.com>
Reviewed-by: Camelia Groza <camelia.gr...@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

Reply via email to