1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

ramips: rt305x: add support for the UR-336UN board

Patch-by: Lebedev Dmitry <lebedev@trendnet.ru>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31451 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2012-04-23 16:56:06 +00:00
parent 06add57343
commit 4e19be80f8
11 changed files with 139 additions and 0 deletions

View File

@@ -32,6 +32,10 @@ ramips_setup_interfaces()
f5d8235-v1 | \
f5d8235-v2 | \
ur-336un)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
;;
v11st-fe)
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1"
@@ -110,6 +114,11 @@ ramips_setup_macs()
;;
esr-9753 | \
ur-336un)
lan_mac=$(ramips_get_mac_binary devdata 16388)
wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)
;;
nbg-419n | \
wcr-150gn)
lan_mac=$(ramips_get_mac_binary factory 4)