summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc/uci-defaults/02_network
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-06-24 12:39:28 +0000
committerJohn Crispin <john@openwrt.org>2013-06-24 12:39:28 +0000
commit5063f712a6d5d7e306566b4ad697967b5c06506c (patch)
tree7f1791869d2229136b565c339f9d519e549ef730 /target/linux/ramips/base-files/etc/uci-defaults/02_network
parent111b480945afe53f0fe0fa877159e38461395327 (diff)
downloadmtk-20170518-5063f712a6d5d7e306566b4ad697967b5c06506c.zip
mtk-20170518-5063f712a6d5d7e306566b4ad697967b5c06506c.tar.gz
mtk-20170518-5063f712a6d5d7e306566b4ad697967b5c06506c.tar.bz2
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> SVN-Revision: 37027
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults/02_network')
-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 b45b0ca..747a83d 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