diff options
author | Pawel Dembicki <paweldembicki@gmail.com> | 2018-10-29 17:30:22 +0000 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-06-20 08:48:19 +0200 |
commit | c02a9a2514c488d25db1445b747b7ed51f3630fe (patch) | |
tree | fd4da4fa1826df627fcd03520fd47a6ab81a4979 /tools | |
parent | f96c7f697f948d521f00c37bfcb8a8aa9b94d735 (diff) | |
download | upstream-c02a9a2514c488d25db1445b747b7ed51f3630fe.tar.gz upstream-c02a9a2514c488d25db1445b747b7ed51f3630fe.tar.bz2 upstream-c02a9a2514c488d25db1445b747b7ed51f3630fe.zip |
ramips: mt7620: fix external PHY autopolling
The port initialisation is based on assumption that phy address and
port number is the same. SoC allow different numbers and some board
have it.
Use phy address instead the port number to make sure that correct
addresses are polled.
In situation when only one PHY with address 0x0 is conected to
port 4, autopolling is broken.
This patch make autopolling correct when port number and phy address
are different.
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions