diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-07-03 23:22:16 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-07-10 17:36:29 +0200 |
commit | 83efa8329b35a1a2688309323169fa624cec4e5c (patch) | |
tree | f32718e54dca7bd8d9b7ebea8edc10d5024f8081 /target/linux/ramips/base-files/etc | |
parent | c2334ad60dc82cedc2ec9a6eb8166200d7cbf5e3 (diff) | |
download | upstream-83efa8329b35a1a2688309323169fa624cec4e5c.tar.gz upstream-83efa8329b35a1a2688309323169fa624cec4e5c.tar.bz2 upstream-83efa8329b35a1a2688309323169fa624cec4e5c.zip |
ramips/rt288x,rt3883: Synchronize Makefiles with DTS compatible
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 12 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 48 |
2 files changed, 30 insertions, 30 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 d044ec7bcc..ec8abae582 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -18,7 +18,7 @@ led_wlan="$(get_dt_led wlan)" case $board in 3g-6200n|\ -br-6475nd|\ +edimax,br-6475nd|\ mzk-w300nh2) set_wifi_led "$boardname:amber:wlan" ;; @@ -59,8 +59,8 @@ all0256n-8M) ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0256n:green:rssihigh" "wlan0" "70" "100" "-69" "8" set_wifi_led "rt2800pci-phy0::radio" ;; -ar670w|\ -ar725w|\ +airlink101,ar670w|\ +airlink101,ar725w|\ awapn2403) set_wifi_led "rt2800soc-phy0::radio" ;; @@ -127,7 +127,7 @@ hlk-rm04|\ kn|\ nbg-419n2|\ sl-r7205|\ -v11st-fe|\ +ralink,v11st-fe|\ w306r-v20|\ w502u|\ wt1520-4M|\ @@ -175,7 +175,7 @@ netgear,ex3700) ucidef_set_led_netdev "wlan5g" "ROUTER (green)" "$boardname:green:router" "wlan0" ucidef_set_led_netdev "wlan2g" "DEVICE (green)" "$boardname:green:device" "wlan1" ;; -f5d8235-v1) +belkin,f5d8235-v1) set_wifi_led "$boardname:blue:wireless" ;; fonera20n|\ @@ -211,7 +211,7 @@ hg255d) set_wifi_led "$boardname:green:wlan" ucidef_set_led_netdev "internet" "internet" "$boardname:green:internet" "eth0.2" ;; -hpm) +omnima,hpm) ucidef_set_led_netdev "eth" "ETH" "$boardname:green:eth" "eth0" set_wifi_led "$boardname:green:wifi" ;; 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 94cc9e0ccd..8bbd362589 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -164,7 +164,7 @@ ramips_setup_interfaces() dlink,dch-m225|\ netgear,ex2700|\ netgear,ex3700|\ - hpm|\ + omnima,hpm|\ planex,mzk-ex300np|\ planex,mzk-ex750np|\ sercomm,na930|\ @@ -174,8 +174,8 @@ ramips_setup_interfaces() tplink,tl-mr3020-v3|\ tplink,tl-wr802n-v4|\ kimax,u25awf-h1|\ - wli-tx4-ag300n|\ - wmdr-143n|\ + buffalo,wli-tx4-ag300n|\ + loewe,wmdr-143n|\ buffalo,wmr-300|\ netgear,wn3000rp-v3|\ elecom,wrh-300cr) @@ -200,15 +200,15 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "4:wan:5" "6@eth0" ;; - ar670w|\ - ar725w|\ + airlink101,ar670w|\ + airlink101,ar725w|\ rakwireless,rak633|\ asus,rt-ac51u) ucidef_add_switch "switch0" \ "0:wan" "1:lan" "2:lan" "3:lan" "4:lan" "6t@eth0" ;; belkin,f9k1109v1|\ - rt-n15|\ + asus,rt-n15|\ wl-351) ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0" @@ -224,7 +224,7 @@ ramips_setup_interfaces() awm002-evb-8M|\ bdcom,wap2100-sk|\ tplink,archer-c20i|\ - dir-645|\ + dlink,dir-645|\ glinet,gl-mt300a|\ glinet,gl-mt300n|\ glinet,gl-mt750|\ @@ -297,7 +297,7 @@ ramips_setup_interfaces() wr6202) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ;; - br-6475nd) + edimax,br-6475nd) ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "9@eth0" ;; @@ -310,7 +310,7 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "2:lan:2" "3:lan:1" "4:wan" "6@eth0" ;; - cy-swr1100) + samsung,cy-swr1100) ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "9@eth0" ;; @@ -394,7 +394,7 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "6@eth0" ;; - rt-n56u) + asus,rt-n56u) ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "8@eth0" ;; @@ -403,9 +403,9 @@ ramips_setup_interfaces() "4:lan" "6@eth0" ;; lava,lr-25g001|\ - tew-691gr|\ - tew-692gr|\ - wlr-6000) + trendnet,tew-691gr|\ + trendnet,tew-692gr|\ + sitecom,wlr-6000) ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" "0@eth0" ;; @@ -424,11 +424,11 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "0:lan" "2:lan" "6t@eth0" ;; - f5d8235-v1|\ + belkin,f5d8235-v1|\ f5d8235-v2|\ tew-714tru|\ - v11st-fe|\ - wzr-agl300nh) + ralink,v11st-fe|\ + buffalo,wzr-agl300nh) ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "5@eth0" ;; @@ -499,7 +499,7 @@ ramips_setup_macs() case $board in a5-v11|\ ht-tm02|\ - wmdr-143n) + loewe,wmdr-143n) lan_mac=$(cat /sys/class/net/eth0/address) ;; carambola|\ @@ -531,15 +531,15 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_ascii uboot-env HW_WAN_MAC) lan_mac=$(mtd_get_mac_ascii uboot-env HW_LAN_MAC) ;; - br-6475nd) + edimax,br-6475nd) lan_mac=$(cat /sys/class/net/eth0/address) wan_mac=$(mtd_get_mac_binary devdata 7) ;; - cy-swr1100|\ + samsung,cy-swr1100|\ dlink,dch-m225) lan_mac=$(mtd_get_mac_ascii factory lanmac) ;; - dir-645) + dlink,dir-645) lan_mac=$(mtd_get_mac_ascii nvram lanmac) wan_mac=$(mtd_get_mac_ascii nvram wanmac) ;; @@ -637,7 +637,7 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_binary factory 4) lan_mac=$(macaddr_add "$wan_mac" 1) ;; - rt-n56u) + asus,rt-n56u) lan_mac=$(cat /sys/class/net/eth0/address) lan_mac=$(macaddr_setbit_la "$lan_mac") wan_mac=$(mtd_get_mac_binary factory 32772) @@ -646,10 +646,10 @@ ramips_setup_macs() lan_mac=$(mtd_get_mac_binary factory 40) wan_mac=$(mtd_get_mac_binary factory 46) ;; - tew-691gr) + trendnet,tew-691gr) wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 4)" 3) ;; - tew-692gr) + trendnet,tew-692gr) wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 4)" 1) ;; dovado,tiny-ac) @@ -684,7 +684,7 @@ ramips_setup_macs() lan_mac=$(mtd_get_mac_binary factory 4) wan_mac=$(mtd_get_mac_binary factory 40) ;; - wlr-6000) + sitecom,wlr-6000) wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 32772)" 2) ;; xiaomi,mir3g|\ |