linux-brain/drivers/net/ethernet/mediatek
Sean Wang 757677d0da net: mediatek: setup proper state for disabled GMAC on the default
[ Upstream commit 7352e252b5 ]

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@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-03 10:23:22 +01:00
..
Kconfig net-next: mediatek: add Kconfig and Makefile 2016-03-10 16:22:12 -05:00
Makefile net-next: mediatek: add Kconfig and Makefile 2016-03-10 16:22:12 -05:00
mtk_eth_soc.c net: mediatek: setup proper state for disabled GMAC on the default 2018-03-03 10:23:22 +01:00
mtk_eth_soc.h net: ethernet: mediatek: get hw lro capability by the chip id instead of by the dtsi 2016-10-06 21:08:08 -04:00