commit | 2446254915a7d6f08bba9a755a34cc0402880472 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu Sep 18 17:31:22 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 22 14:41:23 2014 -0400 |
tree | 2b27382c1139a4a9e2b012fa7a9b9604e51bb031 | |
parent | 34f6b8745d421683ca0a268540869eb30721e970 [diff] |
net: dsa: allow switch drivers to implement suspend/resume hooks Add an abstraction layer to suspend/resume switch devices, doing the following split: - suspend/resume the slave network devices and their corresponding PHY devices - suspend/resume the switch hardware using switch driver callbacks Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>