1
0
Fork 0
remarkable-linux/drivers/net/ethernet/mediatek
Sean Wang 9b72f8c448 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@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-03 10:24:26 +01:00
..
Kconfig net-next: mediatek: add platform data to adapt into various hardware 2017-08-01 15:51:48 -07:00
Makefile
mtk_eth_soc.c net: mediatek: setup proper state for disabled GMAC on the default 2018-03-03 10:24:26 +01:00
mtk_eth_soc.h net-next: mediatek: bring up QDMA RX ring 0 2017-08-09 22:45:36 -07:00