Re: [PATCH net-next v2 4/5] net-next: ethernet: mediatek: add device_node of GMAC pointing into the netdev instance

2017-03-22 Thread Florian Fainelli
On 03/21/2017 02:35 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > the patch adds the setup of the corresponding device node of GMAC into the > netdev instance which could allow other modules such as DSA to find the > instance through the node in dt-bindings using of_find_net_device_by_n

Re: [PATCH net-next v2 4/5] net-next: ethernet: mediatek: add device_node of GMAC pointing into the netdev instance

2017-03-22 Thread Andrew Lunn
On Tue, Mar 21, 2017 at 05:35:09PM +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > the patch adds the setup of the corresponding device node of GMAC into the > netdev instance which could allow other modules such as DSA to find the > instance through the node in dt-bindings using of_fi

[PATCH net-next v2 4/5] net-next: ethernet: mediatek: add device_node of GMAC pointing into the netdev instance

2017-03-21 Thread sean.wang
From: Sean Wang the patch adds the setup of the corresponding device node of GMAC into the netdev instance which could allow other modules such as DSA to find the instance through the node in dt-bindings using of_find_net_device_by_node() call. Signed-off-by: Sean Wang --- drivers/net/ethernet