diff options
author | Vivien Didelot <[email protected]> | 2016-12-05 17:30:27 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-12-06 11:32:28 -0500 |
commit | 17e708baf7f24192cb1c7c8dd6b32d1941dfb0e8 (patch) | |
tree | c713e9ecc6ddddbb0790078fe379e05371a5fdac /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 309eca6db96ad69470220fa12c0bdc1ee64da8af (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions