openwrt/target/linux/generic/files/drivers
Sergey Ryazanov 816fb3433b mvswitch: fix autonegotiation issue
The Marvel 88E6060 switch has an MDIO interface, but does not emulate
regular PHY behavior for the host. The network core can not detect using
the generic code, whether the connection via the attached PHY can be
used or not. The PHY's state machine is stuck in a state of
auto-negotiation and does not go any further so the Ethernet interface
of the router stay forever in the not-runing state.

Fix this issue by implementing the aneg_done callback to be able to
inform the network core that the Ethernet interface link to which the
switch is connected can be marked as RUNNING.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
(cherry picked from commit 913b2290ca)
2017-12-13 15:52:49 +01:00
..
leds ledtrig-netdev: don't cancel work on events for different interfaces 2017-01-29 17:34:29 +01:00
misc kernel: owl-loader for delayed Atheros ath9k fixup 2016-09-19 19:32:35 +02:00
mtd ar71xx: Add support for Netgear WNR2000v1 2016-12-14 10:37:01 +01:00
net/phy mvswitch: fix autonegotiation issue 2017-12-13 15:52:49 +01:00