diff options
| author | Ansuel Smith <[email protected]> | 2021-05-14 23:00:07 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-05-14 15:30:22 -0700 |
| commit | 63c33bbfeb6842a956a0eb12901e28eb335bdb18 (patch) | |
| tree | d625ecad77a0d596333b1e4c911fc4ac9397e221 /tools/perf/scripts/python/sched-migration.py | |
| parent | e4b9977cee1583da38a6e9118078bb728aaccf7b (diff) | |
net: dsa: qca8k: clear MASTER_EN after phy read/write
Clear MDIO_MASTER_EN bit from MDIO_MASTER_CTRL after read/write
operation. The MDIO_MASTER_EN bit is not reset after read/write
operation and the next operation can be wrongly interpreted by the
switch as a mdio operation. This cause a production of wrong/garbage
data from the switch and underfined bheavior. (random port drop,
unplugged port flagged with link up, wrong port speed)
Also on driver remove the MASTER_CTRL can be left set and cause the
malfunction of any next driver using the mdio device.
Signed-off-by: Ansuel Smith <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions