summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rw-r--r--target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom1
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network8
3 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
index 259c5d75f..9a714ddc6 100644
--- a/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
+++ b/target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
@@ -46,6 +46,7 @@ case "$FIRMWARE" in
rt2x00_eeprom_extract "u-boot" 262144 272
;;
+ all0256n | \
argus-atp52b | \
bc2 | \
esr-9753 | \
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/leds b/target/linux/ramips/base-files/etc/uci-defaults/leds
index 02d522a6d..bcd17f9d0 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 89a3e359a..cc5600bcf 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 | \