Re: [PATCH net-next v2 1/3] net: ethernet: mediatek: Add basic PHYLINK support

2019-08-22 Thread René van Dorst
Hi Russell, Quoting Russell King - ARM Linux admin : On Wed, Aug 21, 2019 at 04:43:34PM +0200, René van Dorst wrote: +static void mtk_mac_link_down(struct phylink_config *config, unsigned int mode, + phy_interface_t interface) +{ + struct mtk_mac *mac = cont

Re: [PATCH net-next v2 1/3] net: ethernet: mediatek: Add basic PHYLINK support

2019-08-22 Thread Russell King - ARM Linux admin
On Wed, Aug 21, 2019 at 04:43:34PM +0200, René van Dorst wrote: > +static void mtk_mac_link_down(struct phylink_config *config, unsigned int > mode, > + phy_interface_t interface) > +{ > + struct mtk_mac *mac = container_of(config, struct mtk_mac, > +

[PATCH net-next v2 1/3] net: ethernet: mediatek: Add basic PHYLINK support

2019-08-21 Thread René van Dorst
This convert the basics to PHYLINK API. SGMII support is not in this patch. Signed-off-by: René van Dorst -- v1->v2: * Also report 1000Base-X support suggested by Russell King * Reverse christmas on many places suggested by David Miller * Rebase too pickup the mt76x8 changes. --- drivers/net/eth