Re: [PATCH net-next 3/4] net-next: mediatek: add support for MediaTek MT7622 SoC

2017-07-12 Thread Andrew Lunn
Hi Sean > static void mtk_phy_link_adjust(struct net_device *dev) > { > struct mtk_mac *mac = netdev_priv(dev); > @@ -269,6 +311,7 @@ static int mtk_phy_connect(struct net_device *dev) > if (!np) > return -ENODEV; > > + mac->ge_mode = 0; > switch

Re: [PATCH net-next 3/4] net-next: mediatek: add support for MediaTek MT7622 SoC

2017-07-12 Thread Andrew Lunn
Hi Sean > static void mtk_phy_link_adjust(struct net_device *dev) > { > struct mtk_mac *mac = netdev_priv(dev); > @@ -269,6 +311,7 @@ static int mtk_phy_connect(struct net_device *dev) > if (!np) > return -ENODEV; > > + mac->ge_mode = 0; > switch

[PATCH net-next 3/4] net-next: mediatek: add support for MediaTek MT7622 SoC

2017-07-11 Thread sean.wang
From: Sean Wang This patch adds the driver for ethernet controller on MT7622 SoC. It has the similar handling logic as the previously MT7623 does, but there are additions against with MT7623 SoC, the shared SGMII given for the dual GMACs and including 5-ports 10/100

[PATCH net-next 3/4] net-next: mediatek: add support for MediaTek MT7622 SoC

2017-07-11 Thread sean.wang
From: Sean Wang This patch adds the driver for ethernet controller on MT7622 SoC. It has the similar handling logic as the previously MT7623 does, but there are additions against with MT7623 SoC, the shared SGMII given for the dual GMACs and including 5-ports 10/100 embedded switch support (ESW)