aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/board.d
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds12
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network52
2 files changed, 32 insertions, 32 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 a2ecc0fc69..d044ec7bcc 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -192,12 +192,12 @@ glinet,gl-mt300n|\
glinet,gl-mt750)
set_wifi_led "$boardname:wlan"
;;
-gl-mt300n-v2)
+glinet,gl-mt300n-v2)
set_wifi_led "$boardname:red:wlan"
ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x1"
;;
hiwifi,hc5661|\
-hc5661a)
+hiwifi,hc5661a)
ucidef_set_led_netdev "internet" "internet" "$boardname:blue:internet" "eth0.2"
set_wifi_led "$boardname:blue:wlan2g"
;;
@@ -232,7 +232,7 @@ lava,lr-25g001)
ucidef_set_led_netdev "wlan2g" "WiFi 2.4GHz" "$boardname:green:wlan2g" "wlan1"
ucidef_set_led_netdev "wlan5g" "WiFi 5GHz" "$boardname:green:wlan5g" "wlan0"
;;
-linkits7688)
+mediatek,linkit-smart-7688)
ucidef_set_led_wlan "wifi" "wifi" "linkit-smart-7688:orange:wifi" "phy0tpt"
;;
m2m)
@@ -313,12 +313,12 @@ tama,w06)
ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0"
ucidef_set_led_wlan "wlan" "WLAN" "$boardname:green:wlan" "phy0tpt"
;;
-tl-wr840n-v4)
+tplink,tl-wr840n-v4)
ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan" "phy0tpt"
ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
;;
-tl-wr841n-v13)
+tplink,tl-wr841n-v13)
ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan" "phy0tpt"
ucidef_set_led_switch "lan1" "lan1" "$boardname:green:lan1" "switch0" "0x2"
ucidef_set_led_switch "lan2" "lan2" "$boardname:green:lan2" "switch0" "0x4"
@@ -374,7 +374,7 @@ kimax,u25awf-h1)
set_wifi_led "u25awf:red:wifi"
ucidef_set_led_netdev "eth" "eth" "u25awf:green:lan" "eth0"
;;
-u7628-01-128M-16M)
+unielec,u7628-01-128m-16m)
ucidef_set_led_switch "lan1" "lan1" "u7628-01:green:lan1" "switch0" "0x2"
ucidef_set_led_switch "lan2" "lan2" "u7628-01:green:lan2" "switch0" "0x4"
ucidef_set_led_switch "lan3" "lan3" "u7628-01:green:lan3" "switch0" "0x8"
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 ee2ce3c1fb..94cc9e0ccd 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -57,14 +57,14 @@ ramips_setup_interfaces()
edimax,ew-7478ac|\
ht-tm02|\
kimax,u35wf|\
- linkits7688 | \
+ mediatek,linkit-smart-7688|\
m2m|\
microduino,microwrt|\
mikrotik,rbm11g|\
mpr-a2|\
ncs601w|\
- omega2 | \
- omega2p | \
+ onion,omega2|\
+ onion,omega2p|\
thunder,timecloud|\
tplink,tl-wa801nd-v5|\
w150m|\
@@ -99,17 +99,17 @@ ramips_setup_interfaces()
dlink,dwr-922-e2|\
afoundry,ew1200|\
firefly,firewrt|\
- hc5661a|\
+ hiwifi,hc5661a|\
hiwifi,hc5962|\
hlk-rm04|\
phicomm,k2p|\
kn|\
zyxel,keenetic-omni|\
- mac1200rv2|\
+ mercury,mac1200r-v2|\
xiaomi,miwifi-mini|\
- miwifi-nano|\
+ xiaomi,miwifi-nano|\
mediatek,mt7621-eval-board|\
- mt7628|\
+ mediatek,mt7628an-eval-board|\
mtc,wr1201|\
planex,mzk-750dhp|\
mzk-w300nh2|\
@@ -168,7 +168,7 @@ ramips_setup_interfaces()
planex,mzk-ex300np|\
planex,mzk-ex750np|\
sercomm,na930|\
- pbr-d1|\
+ d-team,pbr-d1|\
ravpower,wd03|\
tama,w06|\
tplink,tl-mr3020-v3|\
@@ -243,17 +243,17 @@ ramips_setup_interfaces()
tplink,archer-c50-v4|\
tplink,tl-mr3420-v5|\
tplink,tl-wr842n-v5|\
- tl-wr840n-v4|\
- tl-wr840n-v5|\
- tl-wr841n-v13|\
+ tplink,tl-wr840n-v4|\
+ tplink,tl-wr840n-v5|\
+ tplink,tl-wr841n-v13|\
tplink,tl-wr841n-v14|\
- u7628-01-128M-16M|\
+ unielec,u7628-01-128m-16m|\
ubiquiti,edgerouterx|\
ubiquiti,edgerouterx-sfp|\
ur-326n4g|\
wrtnode,wrtnode|\
- wrtnode2p | \
- wrtnode2r | \
+ wrtnode,wrtnode2p|\
+ wrtnode,wrtnode2r|\
youhua,wr1200js|\
zbtlink,zbt-wa05|\
zyxel,keenetic-extra-ii)
@@ -280,7 +280,7 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan" "4:lan" "6@eth0"
;;
- gl-mt300n-v2)
+ glinet,gl-mt300n-v2)
ucidef_add_switch "switch0" \
"1:lan" "0:wan" "6@eth0"
;;
@@ -314,7 +314,7 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "9@eth0"
;;
- duzun-dm06)
+ duzun,dm06)
ucidef_add_switch "switch0" \
"1:lan" "0:wan" "6@eth0"
;;
@@ -419,8 +419,8 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"0:lan" "4:wan" "6@eth0"
;;
- vocore2|\
- vocore2lite)
+ vocore,vocore2|\
+ vocore,vocore2-lite)
ucidef_add_switch "switch0" \
"0:lan" "2:lan" "6t@eth0"
;;
@@ -432,7 +432,7 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "5@eth0"
;;
- wcr-1166ds)
+ buffalo,wcr-1166ds)
ucidef_add_switch "switch0" \
"3:lan" "4:wan" "6@eth0"
;;
@@ -570,14 +570,14 @@ ramips_setup_macs()
samknows,whitebox-v8)
wan_mac=$(mtd_get_mac_binary factory 57350)
;;
- gl-mt300n-v2|\
+ glinet,gl-mt300n-v2|\
whr-g300n)
wan_mac=$(mtd_get_mac_binary factory 4)
;;
hiwifi,hc5661|\
hiwifi,hc5761|\
hiwifi,hc5861|\
- hc5661a|\
+ hiwifi,hc5661a|\
hiwifi,hc5962|\
hiwifi,hc5861b)
lan_mac=`mtd_get_mac_ascii bdinfo "Vfac_mac "`
@@ -597,11 +597,11 @@ ramips_setup_macs()
zyxel,keenetic-viva)
wan_mac=$(mtd_get_mac_binary factory 40)
;;
- linkits7688)
+ mediatek,linkit-smart-7688)
wan_mac=$(mtd_get_mac_binary factory 4)
lan_mac=$(mtd_get_mac_binary factory 46)
;;
- mac1200rv2)
+ mercury,mac1200r-v2)
lan_mac=$(mtd_get_mac_binary factory_info 13)
wan_mac=$(macaddr_add "$lan_mac" 1)
;;
@@ -621,8 +621,8 @@ ramips_setup_macs()
lan_mac=$(cat /sys/class/net/eth0/address)
lan_mac=$(macaddr_add "$lan_mac" 2)
;;
- omega2|\
- omega2p)
+ onion,omega2|\
+ onion,omega2p)
wan_mac=$(mtd_get_mac_binary factory 4)
lan_mac=$(mtd_get_mac_binary factory 46)
;;
@@ -664,7 +664,7 @@ ramips_setup_macs()
lan_mac=$(cat /sys/class/net/eth0/address)
wan_mac=$(macaddr_add "$lan_mac" 5)
;;
- wcr-1166ds|\
+ buffalo,wcr-1166ds|\
buffalo,wsr-1166dhp)
local index="$(find_mtd_index "board_data")"
wan_mac="$(grep -m1 mac= "/dev/mtd${index}" | cut -d= -f2)"