]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: ethoc: Account for duplex changes
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 4 Dec 2016 20:40:28 +0000 (12:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Dec 2016 20:30:03 +0000 (15:30 -0500)
commitabf7e53e9e6bbd2aa23a6d46bd74cb5dc1b7f564
tree2b7252a291498a00c667092648f029e0c0db1257
parent1c0d32fde5bdf1184bc274f864c09799278a1114
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: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ethoc.c