ipq806x: ap148/r7500: fix eth0 for non gige speeds
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 2 Dec 2015 22:16:23 +0000 (22:16 +0000)
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 2 Dec 2015 22:16:23 +0000 (22:16 +0000)
commit1f10696c43780636d75b2ee8d89fb3bde1fc05ca
tree8438f8130c8ab92a21184d2523022215a3d4cc15
parenta52a956f2e90cab2561da6fbf674c65f48a109ba
ipq806x: ap148/r7500: fix eth0 for non gige speeds

Eth0 is attached to mac0 of the switch with a fixed link and and not to
phy4 in single phy mode, so configuring it to anything but 1000FD will
break the connection, which will happen if a only 100 Mbit capapble device
is plugged into the wan port.

Fix this by not taking the state from phy4 and just configuring a fixed link
for eth0.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47695 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ipq806x/patches-3.18/301-ARM-qcom-add-Netgear-Nighthawk-X4-R7500-device-tree.patch
target/linux/ipq806x/patches-3.18/708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch
target/linux/ipq806x/patches-4.1/301-ARM-qcom-add-Netgear-Nighthawk-X4-R7500-device-tree.patch
target/linux/ipq806x/patches-4.1/708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch