From: Florian Fainelli Date: Fri, 19 Sep 2014 00:31:25 +0000 (-0700) Subject: net: dsa: bcm_sf2: add support for Wake-on-LAN X-Git-Tag: omap-for-v3.19/prcm-cleanup~78^2~23^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96e65d7f3f88d6e117ff80f3003d13c65e85cb03;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed