Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1332801

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

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH net-next] net: macb: add wake-on-lan support via magic packet
Date 2016-02-12 16:20 +0100
Message-ID <r1nFM-jQ-5@gated-at.bofh.it> (permalink)
References <r0h9o-56j-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Feb 09, 2016 at 12:07:16PM -0200, Sergio Prado wrote:
> Tested on Acqua A5 SoM (http://www.acmesystems.it/acqua).
> 
> Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
> ---
>  Documentation/devicetree/bindings/net/macb.txt |  2 +
>  drivers/net/ethernet/cadence/macb.c            | 67 +++++++++++++++++++++++---
>  drivers/net/ethernet/cadence/macb.h            |  4 ++
>  3 files changed, 67 insertions(+), 6 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt
> index d2e243b1ec0e..c6b1cb5ffa87 100644
> --- a/Documentation/devicetree/bindings/net/macb.txt
> +++ b/Documentation/devicetree/bindings/net/macb.txt
> @@ -25,6 +25,8 @@ Required properties:
>  
>  Optional properties for PHY child node:
>  - reset-gpios : Should specify the gpio for phy reset
> +- cdns,magic-packet : If present, indicates that the hardware supports waking
> +  up via magic packet.

Already have one vendor property like this (fsl). Make this a generic 
property.

Rob

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH net-next] net: macb: add wake-on-lan support via magic packet Sergio Prado <sergio.prado@e-labworks.com> - 2016-02-09 15:10 +0100
  Re: [PATCH net-next] net: macb: add wake-on-lan support via magic  packet Rob Herring <robh@kernel.org> - 2016-02-12 16:20 +0100

csiph-web