diff options
author | shaohui xie <shaohui.xie@nxp.com> | 2016-11-15 06:36:47 (GMT) |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2016-12-08 16:36:22 (GMT) |
commit | bead08800a2f054a90849e0c244022013fbe0196 (patch) | |
tree | 022f6375de5e37003dc7166663aced884672139b /drivers/net/fm/memac.c | |
parent | cebf3f558ee8b07f1a2f803fdeb9051603a308ac (diff) | |
download | u-boot-bead08800a2f054a90849e0c244022013fbe0196.tar.xz |
net: fman: fix 2.5G SGMII settings
The settings for 2.5G SGMII are wrong, which the 2.5G case is missed in
set_if_mode(), and the serdes PCS configuration are wrong, this patch uses
the correct settings took from Linux.
Signed-off-by: Shaohui Xie <Shaohui.Xie@nxp.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/fm/memac.c')
-rw-r--r-- | drivers/net/fm/memac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/fm/memac.c b/drivers/net/fm/memac.c index 81a64bf..1b5779c 100644 --- a/drivers/net/fm/memac.c +++ b/drivers/net/fm/memac.c @@ -90,6 +90,7 @@ static void memac_set_interface_mode(struct fsl_enet_mac *mac, if_mode |= (IF_MODE_GMII | IF_MODE_RM); break; case PHY_INTERFACE_MODE_SGMII: + case PHY_INTERFACE_MODE_SGMII_2500: case PHY_INTERFACE_MODE_QSGMII: if_mode &= ~IF_MODE_MASK; if_mode |= (IF_MODE_GMII); |