ar71xx: Clear bits in ath79_setup_qca955x_eth_cfg
authorJohn Crispin <john@openwrt.org>
Wed, 16 Mar 2016 09:27:04 +0000 (09:27 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 16 Mar 2016 09:27:04 +0000 (09:27 +0000)
commitbe68f34708db920a46d0dd6013b8bdae51685238
treead681aaa3d80aacce40e749ecdf7b25516b44808
parenteff9a4b176c49f79d8ede2edf353606ca62916b2
ar71xx: Clear bits in ath79_setup_qca955x_eth_cfg

Some u-boot versions for QCA955x set currently not cleared bits depending
on the used link speed. This breaks the rx/tx under OpenWrt. The mach-*.c
file is responsible to select the correct configuration bits and thus the
ath79_setup_qca955x_eth_cfg has to clear the unset.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
SVN-Revision: 49028
target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c