diff options
author | John Crispin <blogic@openwrt.org> | 2013-04-25 19:02:53 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-04-25 19:02:53 +0000 |
commit | 77dd77583991a87a45996cf13175e5031de9a071 (patch) | |
tree | cd7bd5d3ca9b34084118c6172bfbfe773fb703d3 /target/linux/ramips/base-files/etc/uci-defaults/02_network | |
parent | a5c64687445944475f3e7a79bfae011a488aff34 (diff) | |
download | upstream-77dd77583991a87a45996cf13175e5031de9a071.tar.gz upstream-77dd77583991a87a45996cf13175e5031de9a071.tar.bz2 upstream-77dd77583991a87a45996cf13175e5031de9a071.zip |
ramips: Add Alpha ASL-26555 support.
This board uses a TrendChip SOC with its own RAM/Flash for ADSL support.
We know both SOCs are connected through ethernet and use some kind of protocol for UART communication, but due to the lack of GPL sources we couldn't get it to work. For this reason the network is configured only for LAN.
There are two versions (Chile 8MB and Spain 16MB).
Wiki: http://wiki.openwrt.org/toh/alpha/asl26555
Signed-off-by: Esteban Benito <estebanjbs@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3571/
Acked-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36433 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults/02_network')
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/02_network | 10 |
1 files changed, 10 insertions, 0 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 49c4f7f334..b3d87d2889 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/02_network +++ b/target/linux/ramips/base-files/etc/uci-defaults/02_network @@ -63,6 +63,12 @@ ramips_setup_interfaces() ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ;; + asl26555) + ucidef_set_interface_lan "eth0.1" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 6t" + ;; + dir-645) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_add_switch "switch0" "1" "1" @@ -176,6 +182,10 @@ ramips_setup_macs() wan_mac=$(macaddr_add "$lan_mac" 1) ;; + asl26555) + lan_mac=$(mtd_get_mac_binary devdata 16388) + ;; + w306r-v20) lan_mac=$(mtd_get_mac_binary factory 4) wan_mac=$(macaddr_add "$lan_mac" 5) |