aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/mvswitch.c
Commit message (Collapse)AuthorAgeFilesLines
* mvswitch: fix autonegotiation issueSergey Ryazanov2017-06-071-0/+7
| | | | | | | | | | | | | | | 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>
* kernel: update phy drivers for 4.9Felix Fietkau2017-02-031-6/+10
| | | | | | add backport patches for older kernels Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: mvswitch: merge 3.10+ compile fix into the codeJonas Gorski2015-12-041-3/+3
| | | | | | | | | The lowest we support is 3.18, so no need to keep it as a separate patch. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47749
* generic: mvswitch: add detach callbackGabor Juhos2013-02-071-1/+12
| | | | | | | | | | | Use the detach callback to disable packet mangling to avoid possible NULL pointer dereference. Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35512
* kernel: rewrite the phy packet hook, put it in the network stack to avoid ↵Felix Fietkau2012-05-061-54/+20
| | | | | | having to keep non-upstream ethernet driver changes SVN-Revision: 31637
* atheros: update to 3.3.4 (based on work by acoul), fix mvswitch driver for ↵Felix Fietkau2012-05-061-15/+3
| | | | | | newer kernels SVN-Revision: 31625
* fix mvswitch PHY polling setting (#8133)Florian Fainelli2010-11-041-1/+1
| | | | SVN-Revision: 23862
* rename target/linux/generic-2.6 to genericFelix Fietkau2010-06-261-0/+468
SVN-Revision: 21952