diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-09-19 00:31:25 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-22 18:41:23 (GMT) |
commit | 96e65d7f3f88d6e117ff80f3003d13c65e85cb03 (patch) | |
tree | d1103c98dd7273538de10bea5c0e259816e8c409 /kernel/audit.h | |
parent | 19e57c4e6dc6b82a3204b801f4c5f27c7d007559 (diff) | |
download | linux-96e65d7f3f88d6e117ff80f3003d13c65e85cb03.tar.xz |
net: dsa: bcm_sf2: add support for Wake-on-LAN
In order for Wake-on-LAN to work properly, we query the parent network
device Wake-on-LAN features and advertise those. Similarly, when
configuring Wake-on-LAN on a per-port network interface, we make sure
that we do not accept something the master network devices does not
support.
Finally, we need to maintain a bitmask of the ports enabled for
Wake-on-LAN to prevent the suspend() callback from disabling a port that
is used for waking up the system.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions