]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: net: phy: atheros: add separate config for AR8031
authorMugunthan V N <mugunthanvnm@ti.com>
Thu, 13 Oct 2016 14:03:36 +0000 (19:33 +0530)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 13 Oct 2016 17:24:55 +0000 (12:24 -0500)
commitce412b79e72557702185443501478646a938b5fe
tree2f558ebe750e0120c89c2dd8d74cce75bc466345
parent2ec4d10b65d1f7d45098606e9a6857d587c3027c
drivers: net: phy: atheros: add separate config for AR8031

In the current driver implementation, config() callback is common
for AR8035 and AR8031 phy. In config() callback, driver tries to
configure MMD Access Control Register and MMD Access Address Data
Register unconditionally for both phy versions which leads to
auto negotiation failure in AM335x EVMsk second port which uses
AR8031 Giga bit RGMII phy. Fixing this by adding separate config
for AR8031 phy.

Reviewed-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/atheros.c