aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network5
2 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index cbc003a1de..df5dd84d5a 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -60,6 +60,10 @@ bdcom,wap2100-sk|\
hiwifi,hc5861b)
set_wifi_led "$boardname:green:wlan2g"
;;
+belkin,f9k1109v1)
+ set_usb_led "$boardname:green:usb1"
+ ucidef_set_led_netdev "lan" "lan" "$boardname:blue:wps" "eth0"
+ ;;
broadway)
set_wifi_led "$boardname:red:wps_active"
;;
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index f968aafc8e..8417ac68ab 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -199,6 +199,7 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:wan" "1:lan" "2:lan" "3:lan" "4:lan" "6t@eth0"
;;
+ belkin,f9k1109v1|\
rt-n15|\
wl-351)
ucidef_add_switch "switch0" \
@@ -483,6 +484,10 @@ ramips_setup_macs()
lan_mac=$(macaddr_setbit_la "$lan_mac")
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
+ belkin,f9k1109v1)
+ wan_mac=$(mtd_get_mac_ascii uboot-env HW_WAN_MAC)
+ lan_mac=$(mtd_get_mac_ascii uboot-env HW_LAN_MAC)
+ ;;
br-6475nd)
lan_mac=$(cat /sys/class/net/eth0/address)
wan_mac=$(mtd_get_mac_binary devdata 7)