driver/net/fm/memac_phy: set NEG bit for external MDIOs
authorShaohui Xie <Shaohui.Xie@freescale.com>
Wed, 13 Aug 2014 10:38:09 +0000 (18:38 +0800)
committerYork Sun <yorksun@freescale.com>
Fri, 14 Nov 2014 19:12:13 +0000 (11:12 -0800)
commitae6b45830637f7540d0c06280c886bfcb295d27b
tree1ce1dbe06b3f130ae6b2c56edb327874d3a1d40b
parentff5fb2a36dff8a92d6483359167a6b1525359eaf
driver/net/fm/memac_phy: set NEG bit for external MDIOs

NEG bit default is '1' for external MDIOs as per FMAN-v3 RM, but on some
platforms, e.g. T2080QDS, this bit is '0', which leads to MDIO failure
on XAUI PHY, so set this bit definitely to align with the RM.

Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/include/asm/fsl_memac.h
drivers/net/fm/memac_phy.c