diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-01-24 11:48:47 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-01-24 11:48:47 +0000 |
commit | 34ce00adfd9334031bcc021b4591179b2f810d66 (patch) | |
tree | 212426717d8605f4f9ec9a8d1ff09824712549c9 /target/linux/ramips/base-files/etc/uci-defaults | |
parent | 523eae8c338150ec62ab3d148074a7f7095bfa14 (diff) | |
download | master-187ad058-34ce00adfd9334031bcc021b4591179b2f810d66.tar.gz master-187ad058-34ce00adfd9334031bcc021b4591179b2f810d66.tar.bz2 master-187ad058-34ce00adfd9334031bcc021b4591179b2f810d66.zip |
ramips: add user-space support for ALL0256N
This adds uci-defaults and sysupgrade support for the ALL0256N.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29883 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults')
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/leds | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/uci-defaults/network | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds index 02d522a6d8..bcd17f9d04 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/leds +++ b/target/linux/ramips/base-files/etc/uci-defaults/leds @@ -33,6 +33,9 @@ EOF board=$(ramips_board_name) case $board in + all0256n) + set_wifi_led "rt2800pci-phy0::radio" + ;; bc2) set_usb_led "bc2:blue:usb" ;; diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network index 89a3e359ad..cc5600bcfd 100755 --- a/target/linux/ramips/base-files/etc/uci-defaults/network +++ b/target/linux/ramips/base-files/etc/uci-defaults/network @@ -16,6 +16,10 @@ ramips_setup_interfaces() ucidef_set_interface_loopback case $board in + all0256n) + ucidef_set_interface_lan "eth0.1" + ;; + argus-atp52b | \ b2c | \ nw718 | \ @@ -65,6 +69,10 @@ ramips_setup_macs() local wan_mac="" case $board in + all0256n) + lan_mac=$(ramips_get_mac_binary factory 40) + ;; + argus-atp52b | \ b2c | \ f5d8235-v1 | \ |