commit | 8cfa94984c9cfdd5f5af2af4f161176cb7256d44 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu Sep 18 17:31:23 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 22 14:41:23 2014 -0400 |
tree | 8a41b591a41f652361fde48ca0916da8fd466497 | |
parent | 2446254915a7d6f08bba9a755a34cc0402880472 [diff] |
net: dsa: bcm_sf2: add suspend/resume callbacks Implement the suspend/resume callbacks for the Broadcom Starfighter 2 switch driver. Suspending the switch requires masking interrupts and shutting down ports. Resuming the switch requires a software reset since we do not know which power-sate we might be coming from, and re-enabling the physical ports that are used. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>