Re: [PATCH net v2 1/3] drivers: net: cpsw: fix parsing of phy-handle DT property in dual_emac config

2016-04-25 Thread Grygorii Strashko
On 04/22/2016 04:03 PM, Grygorii Strashko wrote: > On 04/21/2016 09:19 PM, David Rivshin (Allworx) wrote: >> From: David Rivshin >> >> Commit 9e42f715264ff158478fa30eaed847f6e131366b ("drivers: net: cpsw: add >> phy-handle parsing") saved the "phy-handle" phandle into a new

Re: [PATCH net v2 1/3] drivers: net: cpsw: fix parsing of phy-handle DT property in dual_emac config

2016-04-25 Thread Grygorii Strashko
On 04/22/2016 04:03 PM, Grygorii Strashko wrote: > On 04/21/2016 09:19 PM, David Rivshin (Allworx) wrote: >> From: David Rivshin >> >> Commit 9e42f715264ff158478fa30eaed847f6e131366b ("drivers: net: cpsw: add >> phy-handle parsing") saved the "phy-handle" phandle into a new cpsw_priv >> field.

Re: [PATCH net v2 1/3] drivers: net: cpsw: fix parsing of phy-handle DT property in dual_emac config

2016-04-22 Thread Grygorii Strashko
On 04/21/2016 09:19 PM, David Rivshin (Allworx) wrote: From: David Rivshin Commit 9e42f715264ff158478fa30eaed847f6e131366b ("drivers: net: cpsw: add phy-handle parsing") saved the "phy-handle" phandle into a new cpsw_priv field. However, phy connections are per-slave, so

Re: [PATCH net v2 1/3] drivers: net: cpsw: fix parsing of phy-handle DT property in dual_emac config

2016-04-22 Thread Grygorii Strashko
On 04/21/2016 09:19 PM, David Rivshin (Allworx) wrote: From: David Rivshin Commit 9e42f715264ff158478fa30eaed847f6e131366b ("drivers: net: cpsw: add phy-handle parsing") saved the "phy-handle" phandle into a new cpsw_priv field. However, phy connections are per-slave, so the phy_node field

[PATCH net v2 1/3] drivers: net: cpsw: fix parsing of phy-handle DT property in dual_emac config

2016-04-21 Thread David Rivshin (Allworx)
From: David Rivshin Commit 9e42f715264ff158478fa30eaed847f6e131366b ("drivers: net: cpsw: add phy-handle parsing") saved the "phy-handle" phandle into a new cpsw_priv field. However, phy connections are per-slave, so the phy_node field should be in cpsw_slave_data rather

[PATCH net v2 1/3] drivers: net: cpsw: fix parsing of phy-handle DT property in dual_emac config

2016-04-21 Thread David Rivshin (Allworx)
From: David Rivshin Commit 9e42f715264ff158478fa30eaed847f6e131366b ("drivers: net: cpsw: add phy-handle parsing") saved the "phy-handle" phandle into a new cpsw_priv field. However, phy connections are per-slave, so the phy_node field should be in cpsw_slave_data rather than cpsw_priv. This