net: ethoc: Account for duplex changes
ethoc_mdio_poll() which is our PHYLIB adjust_link callback does nothing, we should at least react to duplex changes and change MODER accordingly. Speed changes is not a problem, since the OpenCores Ethernet core seems to be reacting okay without us telling it. Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com> Reviewed-by: NTobias Klauser <tklauser@distanz.ch> Acked-by: NThierry Reding <thierry.reding@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录