From d93706154b6dfc70cf3b739ce9845cd7ec32416c Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Mon, 28 Jan 2013 17:44:41 +0000
Subject: [PATCH] ramips: reset switch on single-port devices

Signed-off-by: Daniel Gole <dgolle@allnet.de>

SVN-Revision: 35356
---
 target/linux/ramips/base-files/etc/uci-defaults/02_network | 1 +
 1 file changed, 1 insertion(+)

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 a8e5ef9d7c..b9c88e352f 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/02_network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network
@@ -46,6 +46,7 @@ ramips_setup_interfaces()
 	all0256n | \
 	all5002 | \
 	broadway)
+		ucidef_add_switch "switch0" "1" "0"
 		ucidef_set_interface_lan "eth0"
 		;;
 
-- 
2.30.2