commit | bf94cfbac0d83e3c8ce5a9caaecaddee8f4b0a88 | [log] [tgz] |
---|---|---|
author | York Sun <york.sun@nxp.com> | Tue Jun 06 09:22:40 2017 -0700 |
committer | York Sun <york.sun@nxp.com> | Mon Jun 12 12:18:14 2017 -0700 |
tree | df13062cd45938595652d2829c497ba1e61e9667 | |
parent | 5913145449e7b8963c017c4a6dd1684b7eb525be [diff] |
net: phy: marvell: Fix init function for m88e1145 Commit a058052c changed the generic phy_reset() to clear all bits in BMCR. This inevitably clears the ANEG bit. m88e1145 requires any change to ANEG bit to be followed by a software reset. This seems to be different from other PHYs. Implement read-modify-write procedure for this PHY init. Signed-off-by: York Sun <york.sun@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>