aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-06-24 12:39:28 +0000
committerJohn Crispin <blogic@openwrt.org>2013-06-24 12:39:28 +0000
commit6d4d47f265242115e5fc047acfd6734ec540ba47 (patch)
treeaa7a73304aeba77e8d44e57ee4d4378c97145cf5 /target/linux/ramips/base-files/etc/uci-defaults
parent23973954c9d691ae417942b6cc667dec7c5c786d (diff)
downloadupstream-6d4d47f265242115e5fc047acfd6734ec540ba47.tar.gz
upstream-6d4d47f265242115e5fc047acfd6734ec540ba47.tar.bz2
upstream-6d4d47f265242115e5fc047acfd6734ec540ba47.zip
ramips: move ESW reset to preinit on RT305x/RT5350
RT305x/RT5350 SoCs require the switch to be reset before touching the ethernet interface, otherwise the driver will panic. As we already init the ethernet in preinit we therefor need to reset the switch before that. Signed-off-by: Felix Kaechele <felix@fetzig.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37027 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/02_network1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/02_network b/target/linux/ramips/base-files/etc/uci-defaults/02_network
index b45b0ca25a..747a83d454 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -13,7 +13,6 @@ ramips_setup_rt3x5x_vlans()
fi
local wanports=""
local lanports=""
- swconfig dev rt305x set reset 1
for port in 5 4 3 2 1 0; do
if [ `swconfig dev rt305x port $port get disable` = "1" ]; then
continue