[PATCH net] net: mediatek: setup proper state for disabled GMAC on the default

David Miller davem at davemloft.net
Tue Dec 19 10:21:50 PST 2017


From: <sean.wang at mediatek.com>
Date: Mon, 18 Dec 2017 17:00:17 +0800

> From: Sean Wang <sean.wang at mediatek.com>
> 
> The current solution would setup fixed and force link of 1Gbps to the both
> GMAC on the default. However, The GMAC should always be put to link down
> state when the GMAC is disabled on certain target boards. Otherwise,
> the driver possibly receives unexpected data from the floating hardware
> connection through the unused GMAC. Although the driver had been added
> certain protection in RX path to get rid of such kind of unexpected data
> sent to the upper stack.
> 
> Signed-off-by: Sean Wang <sean.wang at mediatek.com>

Applied, thanks.



More information about the Linux-mediatek mailing list