aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc/uci-defaults/.svn')
-rw-r--r--target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/entries96
-rw-r--r--target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/prop-base/02_network.svn-base5
-rw-r--r--target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/prop-base/09_fix_crc.svn-base5
-rw-r--r--target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/text-base/02_network.svn-base108
-rw-r--r--target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/text-base/09_fix_crc.svn-base34
5 files changed, 248 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/entries b/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/entries
new file mode 100644
index 0000000..da5f670
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/entries
@@ -0,0 +1,96 @@
+10
+
+dir
+36060
+svn://svn.openwrt.org/openwrt/trunk/target/linux/brcm63xx/base-files/etc/uci-defaults
+svn://svn.openwrt.org/openwrt
+
+
+
+2013-02-05T14:57:43.579800Z
+35501
+mirko
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+3c298f89-4303-0410-b956-a3cf2f4a3e73
+
+09_fix_crc
+file
+
+
+
+
+2013-03-17T12:12:30.000000Z
+c045bbc604072760a78565217a1564c4
+2013-02-05T14:57:43.579800Z
+35501
+mirko
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+370
+
+02_network
+file
+
+
+
+
+2013-03-17T12:12:30.000000Z
+afa9051dcc9ca955569e7d7353177b0d
+2013-02-05T14:57:40.477201Z
+35500
+mirko
+has-props
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+1812
+
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/prop-base/02_network.svn-base b/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/prop-base/02_network.svn-base
new file mode 100644
index 0000000..869ac71
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/prop-base/02_network.svn-base
@@ -0,0 +1,5 @@
+K 14
+svn:executable
+V 1
+*
+END
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/prop-base/09_fix_crc.svn-base b/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/prop-base/09_fix_crc.svn-base
new file mode 100644
index 0000000..869ac71
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/prop-base/09_fix_crc.svn-base
@@ -0,0 +1,5 @@
+K 14
+svn:executable
+V 1
+*
+END
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/text-base/02_network.svn-base b/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/text-base/02_network.svn-base
new file mode 100644
index 0000000..f59fed6
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/text-base/02_network.svn-base
@@ -0,0 +1,108 @@
+#!/bin/sh
+#
+# Copyright (C) 2012 OpenWrt.org
+#
+
+[ -e /etc/config/network ] && exit 0
+
+touch /etc/config/network
+
+. /lib/functions/uci-defaults.sh
+. /lib/brcm63xx.sh
+
+ucidef_set_interface_loopback
+
+case "$board_name" in
+
+RTA770BW |\
+RTA770W |\
+96348W3 |\
+96358-502V |\
+SPW500V)
+ ucidef_set_interface_lan "eth0"
+ ;;
+
+96338GW |\
+96338W |\
+96338W2_E7T |\
+96348A-122 |\
+96348W3 |\
+CPVA642 |\
+CT536_CT5621 |\
+CT6373-1 |\
+D-4P-W |\
+"F@ST2604" |\
+RTA1320_16M |\
+V2110)
+ ucidef_set_interface_lan "eth0"
+ ucidef_add_switch "eth0" "1" "1"
+ ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 4 5"
+ ;;
+
+96348GW |\
+96348GW-10 |\
+96348GW-11 |\
+96348GW-A |\
+96358VW |\
+96358VW2 |\
+AGPF-S0 |\
+"CPVA502+" |\
+DV201AMR |\
+DWV-S0 |\
+"F@ST2404" |\
+HW553 |\
+MAGIC |\
+RTA1025W_16 |\
+V2500V_BB)
+ ucidef_set_interfaces_lan_wan "eth1" "eth0"
+ ucidef_add_switch "eth1" "1" "1"
+ ucidef_add_switch_vlan "eth1" "1" "0 1 2 3 4 5"
+ ;;
+
+AW4139 |\
+HW556*)
+ ucidef_set_interface_lan "eth0.1"
+ ucidef_add_switch "eth0" "1" "1"
+ ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 4 5t"
+ ;;
+
+NB4-* |\
+DVG3810BN)
+ ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
+ ucidef_add_switch "eth1" "1" "1"
+ ucidef_add_switch_vlan "eth1" "1" "0 1 2 3 4 5t"
+ ;;
+
+96328avng |\
+96328A-1241N |\
+96328A-1441N1 |\
+963281TAN |\
+963281T_TEF |\
+96368MVNgr)
+ ucidef_set_interface_lan "eth0.1"
+ ucidef_add_switch "eth0" "1" "1"
+ ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 8t"
+ ;;
+
+96368MVWG)
+ ucidef_set_interface_lan "eth0.1"
+ ucidef_add_switch "eth0" "1" "1"
+ ucidef_add_switch_vlan "eth0" "1" "1 2 4 5 8t"
+ ;;
+
+NB6)
+ ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
+ ucidef_add_switch "switch0" "1" "1"
+ ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 9t"
+ ucidef_add_switch_vlan "switch0" "2" "0 9t"
+ ;;
+
+*)
+ ucidef_set_interfaces_lan_wan "eth1" "eth0"
+ ;;
+
+esac
+
+uci commit network
+
+exit 0
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/text-base/09_fix_crc.svn-base b/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/text-base/09_fix_crc.svn-base
new file mode 100644
index 0000000..2bb79cc
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/.svn/text-base/09_fix_crc.svn-base
@@ -0,0 +1,34 @@
+#!/bin/sh
+#
+# Copyright (C) 2007 OpenWrt.org
+#
+#
+
+. /lib/brcm63xx.sh
+
+do_fixcrc() {
+ mtd fixtrx linux
+}
+
+brcm63xx_detect
+
+case "$board_name" in
+ 96328avng |\
+ 96328A-1241N |\
+ 96328A-1441N1 |\
+ 963281TAN |\
+ 963281T_TEF |\
+ 96358-502V |\
+ "CPVA502+" |\
+ AW4339U |\
+ CPVA642 |\
+ CT6373-1 |\
+ MAGIC |\
+ V2110 |\
+ RTA770BW |\
+ RTA770W |\
+ V2500V_BB)
+ do_fixcrc
+ ;;
+esac
+