Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755109AbaBULSs (ORCPT ); Fri, 21 Feb 2014 06:18:48 -0500 Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:35875 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754156AbaBULSq (ORCPT ); Fri, 21 Feb 2014 06:18:46 -0500 Date: Fri, 21 Feb 2014 11:18:23 +0000 From: Mark Rutland To: Alistair Popple Cc: "netdev@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "David S. Miller" Subject: Re: [PATCH 2/7] IBM Akebono: Add support for a new PHY interface to the IBM emac driver Message-ID: <20140221111823.GA8783@e106331-lin.cambridge.arm.com> References: <1392964293-13687-1-git-send-email-alistair@popple.id.au> <1392964293-13687-3-git-send-email-alistair@popple.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1392964293-13687-3-git-send-email-alistair@popple.id.au> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 21, 2014 at 06:31:28AM +0000, Alistair Popple wrote: > The IBM PPC476GTR SoC that is used on the Akebono board uses a > different ethernet PHY interface that has wake on lan (WOL) support > with the IBM emac. This patch adds support to the IBM emac driver for > this new PHY interface. > > At this stage the wake on lan functionality has not been implemented. > > Signed-off-by: Alistair Popple > Acked-by: Benjamin Herrenschmidt > Cc: "David S. Miller" > --- [...] > + /* Check for RGMII flags */ > + if (of_get_property(ofdev->dev.of_node, "has-mdio", NULL)) > + dev->flags |= EMAC_RGMII_FLAG_HAS_MDIO; You can use of_property_read_bool here. Cheers, Mark. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/