diff options
| author | Mikhail Ulyanov <[email protected]> | 2015-01-22 01:19:48 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-01-26 15:26:41 -0800 |
| commit | b71af04676e9cfea6be49a8f40db36785017e944 (patch) | |
| tree | 442d27b1ab2abe6bf1aca088b5a35fcfc54ac62a /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | e7d7e89846d53e27d6e48a746c5c69e69c22aaaa (diff) | |
sh_eth: add more PM methods
Add sh_eth_{suspend|resume}() implementing {suspend|resume|freeze|thaw|poweroff|
restore}() PM methods to make it possible to restore from hibernation not only
in Linux but also in e.g. U-Boot and to have more determined state on resume/
restore.
Signed-off-by: Mikhail Ulyanov <[email protected]>
[Sergei: moved sh_eth_{suspend|resume}() before sh_eth_runtime_nop(), enclosed
them with #ifdef CONFIG_PM_SLEEP, reordered the local variables, got rid of
*goto* and label, reordered macro invocations, renamed, modified the changelog.]
Signed-off-by: Sergei Shtylyov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions