diff options
author | Madalin Bucur <madalin.bucur@nxp.com> | 2016-12-19 22:42:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-20 13:55:34 -0500 |
commit | 606987b04e6c0dd8027ea331f2eeae35a5f4413c (patch) | |
tree | f9c5abd970a49738dff3ada5635e43b06f8a06a0 /drivers | |
parent | fb3dc5b8adef1b05e2ca2a48db9fcf1a35ae9a1e (diff) | |
download | linux-606987b04e6c0dd8027ea331f2eeae35a5f4413c.tar.bz2 |
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')
-rw-r--r-- | drivers/net/ethernet/freescale/fman/mac.c | 1 |
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 }; |