summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@nxp.com>2016-12-19 21:42:43 +0100
committerDavid S. Miller <davem@davemloft.net>2016-12-20 19:55:34 +0100
commit606987b04e6c0dd8027ea331f2eeae35a5f4413c (patch)
treef9c5abd970a49738dff3ada5635e43b06f8a06a0 /drivers/net/ethernet/freescale
parentMerge branch 'phy-broken-modes' (diff)
downloadlinux-606987b04e6c0dd8027ea331f2eeae35a5f4413c.tar.xz
linux-606987b04e6c0dd8027ea331f2eeae35a5f4413c.zip
fsl/fman: fix 1G support for QSGMII interfaces
QSGMII ports were not advertising 1G speed. Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com> Reviewed-by: Camelia Groza <camelia.groza@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale')
-rw-r--r--drivers/net/ethernet/freescale/fman/mac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fman/mac.c b/drivers/net/ethernet/freescale/fman/mac.c
index 69ca42ce5dd5..0b31f8502ada 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
};