[PATCH net-next,V2] net: macb: make magic-packet property generic

2016-02-16 Thread Sergio Prado
As requested by Rob Herring on patch https://patchwork.ozlabs.org/patch/580862/. This is a new property that it's still in net-next and has never been used in production, so we are not breaking anything with the incompatible binding change. Signed-off-by: Sergio Prado --- Changes v1 ->

[PATCH net-next] net: macb: make magic-packet property generic

2016-02-15 Thread Sergio Prado
Signed-off-by: Sergio Prado --- As requested by Rob Herring on patch https://patchwork.ozlabs.org/patch/580862/ --- Documentation/devicetree/bindings/net/macb.txt | 2 +- drivers/net/ethernet/cadence/macb.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH net-next] net: macb: add wake-on-lan support via magic packet

2016-02-09 Thread Sergio Prado
Tested on Acqua A5 SoM (http://www.acmesystems.it/acqua). Signed-off-by: Sergio Prado --- Documentation/devicetree/bindings/net/macb.txt | 2 + drivers/net/ethernet/cadence/macb.c| 67 +++--- drivers/net/ethernet/cadence/macb.h| 4 ++ 3 files