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

From: David Miller
Date: Tue Dec 19 2017 - 13:21:58 EST


From: <sean.wang@xxxxxxxxxxxx>
Date: Mon, 18 Dec 2017 17:00:17 +0800

> From: Sean Wang <sean.wang@xxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxx>

Applied, thanks.