Message ID | 20191001123150.23135-2-Mark-MC.Lee@mediatek.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Update MT7629 to support PHYLINK API | expand |
On Tue, Oct 01, 2019 at 08:31:49PM +0800, MarkLee wrote: > Add missing configuration for mt7629 gmii mode support > > Signed-off-by: MarkLee <Mark-MC.Lee@mediatek.com> Hi Mark Since this is for net, it should have a Fixes: tag. Thanks Andrew
On Tue, 2019-10-01 at 14:42 +0200, Andrew Lunn wrote: > On Tue, Oct 01, 2019 at 08:31:49PM +0800, MarkLee wrote: > > Add missing configuration for mt7629 gmii mode support > > > > Signed-off-by: MarkLee <Mark-MC.Lee@mediatek.com> > > Hi Mark > > Since this is for net, it should have a Fixes: tag. > > Thanks > Andrew Hi Andrew, Thanks for your reminder,will add a Fixes tag in the next patch. Mark
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c index c61069340f4f..703adb96429e 100644 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c @@ -261,6 +261,7 @@ static void mtk_mac_config(struct phylink_config *config, unsigned int mode, ge_mode = 0; switch (state->interface) { case PHY_INTERFACE_MODE_MII: + case PHY_INTERFACE_MODE_GMII: ge_mode = 1; break; case PHY_INTERFACE_MODE_REVMII:
Add missing configuration for mt7629 gmii mode support Signed-off-by: MarkLee <Mark-MC.Lee@mediatek.com> --- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 + 1 file changed, 1 insertion(+)