aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2016-12-05 17:30:27 -0500
committerDavid S. Miller <davem@davemloft.net>2016-12-06 11:32:28 -0500
commit17e708baf7f24192cb1c7c8dd6b32d1941dfb0e8 (patch)
treec713e9ecc6ddddbb0790078fe379e05371a5fdac /tools/perf/scripts/python
parentnet: dsa: mv88e6xxx: add helper to hardware reset (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions