Thread (24 messages) 24 messages, 6 authors, 2014-02-25

Re: [PATCH 2/7] IBM Akebono: Add support for a new PHY interface to the IBM emac driver

From: Alistair Popple <hidden>
Date: 2014-02-24 02:09:26
Also in: linux-devicetree, lkml, netdev

On Fri, 21 Feb 2014 11:18:23 Mark Rutland wrote:
On Fri, Feb 21, 2014 at 06:31:28AM +0000, Alistair Popple wrote:
[...]
quoted
+       /* 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.
Thanks. I will update it.

Regards,

Alistair
Cheers,
Mark.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help