diff options
author | Sergey Ryazanov <ryazanov.s.a@gmail.com> | 2017-06-07 01:25:31 +0300 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-06-07 11:06:12 +0200 |
commit | 913b2290caad437bb523d6f1ee5a70707f7f7ef4 (patch) | |
tree | 7acf08a297ddcda8832204ab2e71bf905cfd7695 /target/linux/generic/patches-3.18 | |
parent | cc722bec9736c443b7217109bd74a3d65f383a47 (diff) | |
download | upstream-913b2290caad437bb523d6f1ee5a70707f7f7ef4.tar.gz upstream-913b2290caad437bb523d6f1ee5a70707f7f7ef4.tar.bz2 upstream-913b2290caad437bb523d6f1ee5a70707f7f7ef4.zip |
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>
Diffstat (limited to 'target/linux/generic/patches-3.18')
0 files changed, 0 insertions, 0 deletions