Permalink
Browse files

carambola: properly configure ESW switch and MAC address

Signed-off-by: Žilvinas Valinskas <zilvinas@8devices.com>
  • Loading branch information...
1 parent 931e107 commit ec6894048f56c3dc4f415f81dca5e8e0eda8aff3 Edvinas committed with Žilvinas Valinskas Oct 16, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 target/linux/ramips/base-files/etc/uci-defaults/network
@@ -99,7 +99,9 @@ ramips_setup_interfaces()
wli-tx4-ag300n)
ucidef_set_interface_lan "eth0"
;;
-
+ carambola)
+ ramips_setup_rt3x5x_vlans
+ ;;
*)
RT3X5X=`cat /proc/cpuinfo | egrep "(RT3.5|RT5350)"`
if [ -n "${RT3X5X}" ]; then
@@ -120,6 +122,7 @@ ramips_setup_macs()
case $board in
all0256n | \
all5002 | \
+ carambola | \
dir-615-h1)
lan_mac=$(ramips_get_mac_binary factory 40)
;;
@@ -182,7 +185,6 @@ ramips_setup_macs()
;;
all0239-3g | \
- carambola | \
w502u)
lan_mac=$(ramips_get_mac_binary factory 40)
wan_mac=$(ramips_get_mac_binary factory 46)

0 comments on commit ec68940

Please sign in to comment.