diff options
author | Andrew Lunn <andrew@lunn.ch> | 2017-02-09 00:03:42 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-13 09:30:21 -0500 |
commit | fcd25166d950bc0fae4179b9d16995a1a2270810 (patch) | |
tree | 25b5443f0b5d58448ff979679d2512db353de654 /tools/gpio/Build | |
parent | 3b03cc0783b03ddd668ff3f86419bc67d0664e89 (diff) |
net: dsa: mv88e6xxx: Add watchdog interrupt handler
The switch contains a watchdog looking for issues with the internal
gubbins of the switch. Hook the interrupt the watchdog triggers and
log the value of the control register indicating why the watchdog
fired. The watchdog can only be cleared with a switch reset, which
will destroy the current configuration. Rather than doing this, just
disable the interrupt.
The mv88e6390 family has different watchdog registers. So use an ops
structure, so support for the mv88e6390 family can be added later.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/gpio/Build')
0 files changed, 0 insertions, 0 deletions