net: fman: fix 2.5G SGMII settings
authorshaohui xie <shaohui.xie@nxp.com>
Tue, 15 Nov 2016 06:36:47 +0000 (14:36 +0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 8 Dec 2016 16:36:22 +0000 (10:36 -0600)
commitbead08800a2f054a90849e0c244022013fbe0196
tree022f6375de5e37003dc7166663aced884672139b
parentcebf3f558ee8b07f1a2f803fdeb9051603a308ac
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>
drivers/net/fm/eth.c
drivers/net/fm/memac.c
include/fsl_memac.h