diff options
author | Vladimir Oltean <olteanv@gmail.com> | 2019-11-12 23:22:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-12 19:53:07 -0800 |
commit | 2eea1fa82f681b484acb8e5a0d213b64a5c5574c (patch) | |
tree | 6e2c203fd0270c3d65a5574cd47556954698a58f /drivers/macintosh | |
parent | d438945ae565e7959d11951c4227c224de7595e1 (diff) | |
download | linux-2eea1fa82f681b484acb8e5a0d213b64a5c5574c.tar.bz2 |
net: dsa: sja1105: Print the reset reason
Sometimes it can be quite opaque even for me why the driver decided to
reset the switch. So instead of adding dump_stack() calls each time for
debugging, just add a reset reason to sja1105_static_config_reload
calls which gets printed to the console.
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions