diff options
author | 2016-12-05 17:30:27 -0500 | |
---|---|---|
committer | 2016-12-06 11:32:28 -0500 | |
commit | 17e708baf7f24192cb1c7c8dd6b32d1941dfb0e8 (patch) | |
tree | c713e9ecc6ddddbb0790078fe379e05371a5fdac /tools/perf/scripts/python/sctop.py | |
parent | net: dsa: mv88e6xxx: add helper to hardware reset (diff) | |
download | linux-dev-17e708baf7f24192cb1c7c8dd6b32d1941dfb0e8.tar.xz linux-dev-17e708baf7f24192cb1c7c8dd6b32d1941dfb0e8.zip |
net: dsa: mv88e6xxx: add a soft reset operation
Marvell chips have different way to issue a software reset.
Old chips (such as 88E6060) have a reset bit in an ATU control register.
Newer chips moved this bit in a Global control register. Chips with
controllable PPU should reset the PPU when resetting the switch.
Add a new reset operation to implement these differences and introduce a
mv88e6xxx_software_reset() helper to wrap it conveniently.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions