diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-07-03 23:22:19 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-07-10 17:36:29 +0200 |
commit | 7dd3a234bed4175a7a03f6dd42a4d16d3a80af1e (patch) | |
tree | 22c5c97cd1667637ce4e262ca7b0535a69deafc4 /target/linux/ramips/base-files | |
parent | 83efa8329b35a1a2688309323169fa624cec4e5c (diff) | |
download | upstream-7dd3a234bed4175a7a03f6dd42a4d16d3a80af1e.tar.gz upstream-7dd3a234bed4175a7a03f6dd42a4d16d3a80af1e.tar.bz2 upstream-7dd3a234bed4175a7a03f6dd42a4d16d3a80af1e.zip |
ramips/rt305x: Synchronize Makefiles with DTS compatible
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 130 insertions, 439 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 ec8abae582..8615053132 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -17,17 +17,17 @@ led_wlan="$(get_dt_led wlan)" [ -n "$led_wlan" ] && ucidef_set_led_wlan "wifi_led" "wifi" "$led_wlan" "phy0tpt" case $board in -3g-6200n|\ +edimax,3g-6200n|\ edimax,br-6475nd|\ -mzk-w300nh2) +planex,mzk-w300nh2) set_wifi_led "$boardname:amber:wlan" ;; -3g-6200nl|\ -air3gii|\ +edimax,3g-6200nl|\ +airlive,air3gii|\ hilink,hlk-7628n|\ -mr-102n|\ +aximcom,mr-102n|\ skylab,skw92a|\ -wnce2001|\ +netgear,wnce2001|\ zbtlink,zbt-we2026) set_wifi_led "$boardname:green:wlan" ;; @@ -51,8 +51,8 @@ alfa-network,tube-e4g) ucidef_set_led_netdev "4g" "4g" "$boardname:green:4g" "wwan0" ucidef_set_led_netdev "lan" "lan" "$boardname:blue:lan" "eth0" ;; -all0256n-4M|\ -all0256n-8M) +allnet,all0256n-4m|\ +allnet,all0256n-8m) ucidef_set_rssimon "wlan0" "200000" "1" ucidef_set_led_rssi "rssilow" "RSSILOW" "all0256n:green:rssilow" "wlan0" "1" "40" "0" "6" ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "all0256n:green:rssimed" "wlan0" "30" "80" "-29" "5" @@ -61,11 +61,11 @@ all0256n-8M) ;; airlink101,ar670w|\ airlink101,ar725w|\ -awapn2403) +asiarf,awapn2403) set_wifi_led "rt2800soc-phy0::radio" ;; -asl26555-8M|\ -asl26555-16M) +alphanetworks,asl26555-8m|\ +alphanetworks,asl26555-16m) ucidef_set_led_netdev "eth" "ETH" "asl26555:green:eth" "eth0" set_wifi_led "asl26555:green:wlan" ;; @@ -77,7 +77,7 @@ belkin,f9k1109v1) set_usb_led "$boardname:green:usb1" ucidef_set_led_netdev "lan" "lan" "$boardname:blue:wps" "eth0" ;; -broadway) +hauppauge,broadway) set_wifi_led "$boardname:red:wps_active" ;; hnet,c108) @@ -111,31 +111,31 @@ rakwireless,rak633|\ asus,rt-ac51u) set_wifi_led "$boardname:blue:wifi" ;; -dcs-930l-b1) +dlink,dcs-930l-b1) ucidef_set_led_netdev "wifi" "WiFi" "$boardname:blue:wps" ;; -dir-300-b1|\ -dir-300-b7|\ -dir-320-b1|\ -dir-600-b1|\ -dir-610-a1|\ -dir-615-d|\ -dir-615-h1|\ -dir-620-a1|\ -esr-9753|\ -hlk-rm04|\ -kn|\ -nbg-419n2|\ -sl-r7205|\ +dlink,dir-300-b1|\ +dlink,dir-300-b7|\ +dlink,dir-320-b1|\ +dlink,dir-600-b1|\ +dlink,dir-610-a1|\ +dlink,dir-615-d|\ +dlink,dir-615-h1|\ +dlink,dir-620-a1|\ +engenius,esr-9753|\ +hilink,hlk-rm04|\ +zyxel,keenetic|\ +zyxel,nbg-419n-v2|\ +skyline,sl-r7205|\ ralink,v11st-fe|\ -w306r-v20|\ -w502u|\ -wt1520-4M|\ -wt1520-8M|\ +tenda,w306r-v2|\ +alfa-network,w502u|\ +nexx,wt1520-4m|\ +nexx,wt1520-8m|\ zyxel,keenetic-start) set_wifi_led "rt2800pci-phy0::radio" ;; -dir-620-d1|\ +dlink,dir-620-d1|\ dlink,dwr-116-a1|\ head-weblink,hdrm200|\ zyxel,keenetic-omni|\ @@ -143,7 +143,7 @@ zyxel,keenetic-omni-ii|\ zyxel,keenetic-viva|\ planex,mzk-ex300np|\ ohyeah,oy-0001|\ -tew-714tru|\ +trendnet,tew-714tru|\ zbtlink,zbt-wr8305rt) set_wifi_led "$boardname:green:wifi" ;; @@ -178,7 +178,7 @@ netgear,ex3700) belkin,f5d8235-v1) set_wifi_led "$boardname:blue:wireless" ;; -fonera20n|\ +fon,fonera-20n|\ dovado,tiny-ac) set_wifi_led "$boardname:orange:wifi" ;; @@ -207,7 +207,7 @@ hiwifi,hc5861) ucidef_set_led_netdev "wifi5g" "wifi5g" "$boardname:blue:wlan5g" "wlan0" ucidef_set_led_netdev "wifi2g" "wifi2g" "$boardname:blue:wlan2g" "wlan1" ;; -hg255d) +huawei,hg255d) set_wifi_led "$boardname:green:wlan" ucidef_set_led_netdev "internet" "internet" "$boardname:green:internet" "eth0.2" ;; @@ -215,7 +215,7 @@ omnima,hpm) ucidef_set_led_netdev "eth" "ETH" "$boardname:green:eth" "eth0" set_wifi_led "$boardname:green:wifi" ;; -ht-tm02) +hootoo,ht-tm02) ucidef_set_led_netdev "eth" "Ethernet" "$boardname:green:lan" "eth0" set_wifi_led "$boardname:blue:wlan" ;; @@ -235,7 +235,7 @@ lava,lr-25g001) mediatek,linkit-smart-7688) ucidef_set_led_wlan "wifi" "wifi" "linkit-smart-7688:orange:wifi" "phy0tpt" ;; -m2m) +intenso,memory2move) set_wifi_led "$boardname:blue:wifi" ucidef_set_led_netdev "eth" "Ethernet" "$boardname:green:wan" "eth0" ;; @@ -247,7 +247,7 @@ mikrotik,rbm11g) ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$boardname:green:rssi3" "wlan0" "60" "100" ucidef_set_led_rssi "rssiveryhigh" "RSSIVERYHIGH" "$boardname:green:rssi4" "wlan0" "80" "100" ;; -miniembplug) +omnima,miniembplug) set_wifi_led "$boardname:red:wlan" ;; tplink,archer-mr200) @@ -279,8 +279,8 @@ d-team,newifi-d2) phicomm,psg1208) set_wifi_led "$boardname:white:wlan2g" ;; -px-4885-4M|\ -px-4885-8M) +7links,px-4885-4m|\ +7links,px-4885-8m) set_wifi_led "px-4885:orange:wifi" ;; netgear,r6220|\ @@ -382,8 +382,8 @@ unielec,u7628-01-128m-16m) ucidef_set_led_switch "wan" "wan" "u7628-01:green:wan" "switch0" "0x01" set_wifi_led "u7628-01:green:wlan" ;; -vocore-8M|\ -vocore-16M) +vocore,vocore-8m|\ +vocore,vocore-16m) ucidef_set_led_netdev "eth" "ETH" "vocore:orange:eth" "eth0" ;; wavlink,wl-wn570ha1) 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 8bbd362589..3fe27e834c 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -33,7 +33,7 @@ ramips_setup_interfaces() case $board in wevo,11acnas|\ d-team,newifi-d2|\ - dir-615-h1|\ + dlink,dir-615-h1|\ wevo,w2914ns-v2|\ zbtlink,zbt-we2026) ucidef_add_switch "switch0" \ @@ -42,35 +42,35 @@ ramips_setup_interfaces() asiarf,ap7621-001) ucidef_add_switch "switch0" "0:lan" "4:wan" "6@eth0" ;; - 3g150b|\ - 3g300m|\ - a5-v11|\ - all0256n-4M|\ - all0256n-8M|\ - all5002|\ - all5003|\ + tenda,3g150b|\ + tenda,3g300m|\ + unbranded,a5-v11|\ + allnet,all0256n-4m|\ + allnet,all0256n-8m|\ + allnet,all5002|\ + allnet,all5003|\ yukai,bocco|\ - broadway|\ - dcs-930|\ - dcs-930l-b1|\ + hauppauge,broadway|\ + dlink,dcs-930|\ + dlink,dcs-930l-b1|\ edimax,ew-7476rpc|\ edimax,ew-7478ac|\ - ht-tm02|\ + hootoo,ht-tm02|\ kimax,u35wf|\ mediatek,linkit-smart-7688|\ - m2m|\ + intenso,memory2move|\ microduino,microwrt|\ mikrotik,rbm11g|\ - mpr-a2|\ - ncs601w|\ + hame,mpr-a2|\ + wansview,ncs601w|\ onion,omega2|\ onion,omega2p|\ thunder,timecloud|\ tplink,tl-wa801nd-v5|\ - w150m|\ + tenda,w150m|\ widora,neo-16m|\ widora,neo-32m|\ - wnce2001|\ + netgear,wnce2001|\ zbtlink,zbt-cpe102|\ zorlik,zl5900v2|\ zte,q7) @@ -79,20 +79,20 @@ ramips_setup_interfaces() ucidef_set_interface_lan "eth0" ;; kingston,mlw221|\ - mr-102n) + aximcom,mr-102n) ucidef_set_interface_lan "eth0.2" ;; - 3g-6200n|\ + edimax,3g-6200n|\ aigale,ai-br100|\ alfa-network,ac1200rm|\ mediatek,ap-mt7621a-v60|\ xzwifi,creativebox-v1|\ sanlinking,d240|\ planex,db-wrt01|\ - dir-300-b7|\ - dir-320-b1|\ - dir-610-a1|\ - dir-615-h1|\ + dlink,dir-300-b7|\ + dlink,dir-320-b1|\ + dlink,dir-610-a1|\ + dlink,dir-615-h1|\ dlink,dir-810l|\ dlink,dwr-116-a1|\ dlink,dwr-921-c1|\ @@ -101,9 +101,9 @@ ramips_setup_interfaces() firefly,firewrt|\ hiwifi,hc5661a|\ hiwifi,hc5962|\ - hlk-rm04|\ + hilink,hlk-rm04|\ phicomm,k2p|\ - kn|\ + zyxel,keenetic|\ zyxel,keenetic-omni|\ mercury,mac1200r-v2|\ xiaomi,miwifi-mini|\ @@ -112,9 +112,9 @@ ramips_setup_interfaces() mediatek,mt7628an-eval-board|\ mtc,wr1201|\ planex,mzk-750dhp|\ - mzk-w300nh2|\ - nixcore-x1-8M|\ - nixcore-x1-16M|\ + planex,mzk-w300nh2|\ + nixcore,x1-8m|\ + nixcore,x1-16m|\ ohyeah,oy-0001|\ d-team,pbr-m1|\ phicomm,psg1208|\ @@ -133,7 +133,7 @@ ramips_setup_interfaces() wavlink,wl-wn570ha1|\ wavlink,wl-wn575a3|\ netis,wf-2881|\ - whr-g300n|\ + buffalo,whr-g300n|\ mqmaker,witi-256m|\ mqmaker,witi-512m|\ netgear,wndr3700-v5|\ @@ -159,7 +159,7 @@ ramips_setup_interfaces() alfa-network,awusfree1|\ alfa-network,tube-e4g|\ planex,cs-qr10|\ - d105|\ + huawei,d105|\ dlink,dap-1522-a1|\ dlink,dch-m225|\ netgear,ex2700|\ @@ -209,19 +209,19 @@ ramips_setup_interfaces() ;; belkin,f9k1109v1|\ asus,rt-n15|\ - wl-351) + sitecom,wl-351) ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0" ;; - asl26555-8M|\ - asl26555-16M|\ + alphanetworks,asl26555-8m|\ + alphanetworks,asl26555-16m|\ asus,rp-n53) ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "6t@eth0" ;; - atp-52b|\ - awm002-evb-4M|\ - awm002-evb-8M|\ + argus,atp-52b|\ + asiarf,awm002-evb-4m|\ + asiarf,awm002-evb-8m|\ bdcom,wap2100-sk|\ tplink,archer-c20i|\ dlink,dir-645|\ @@ -230,12 +230,12 @@ ramips_setup_interfaces() glinet,gl-mt750|\ hilink,hlk-7628n|\ hiwifi,hc5861b|\ - jhr-n805r|\ - jhr-n825r|\ - jhr-n926r|\ + jcg,jhr-n805r|\ + jcg,jhr-n825r|\ + jcg,jhr-n926r|\ mikrotik,rb750gr3|\ mikrotik,rbm33g|\ - mzk-wdpr|\ + planex,mzk-wdpr|\ asus,rt-n14u|\ skylab,skw92a|\ tplink,archer-c20-v4|\ @@ -250,7 +250,7 @@ ramips_setup_interfaces() unielec,u7628-01-128m-16m|\ ubiquiti,edgerouterx|\ ubiquiti,edgerouterx-sfp|\ - ur-326n4g|\ + upvel,ur-326n4g|\ wrtnode,wrtnode|\ wrtnode,wrtnode2p|\ wrtnode,wrtnode2r|\ @@ -269,7 +269,7 @@ ramips_setup_interfaces() elecom,wrc-1167ghbk2-s|\ elecom,wrc-2533gst|\ elecom,wrc-1900gst|\ - hg255d|\ + huawei,hg255d|\ iodata,wn-ax1167gr|\ iodata,wn-gx300gr) ucidef_add_switch "switch0" \ @@ -284,17 +284,17 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "0:wan" "6@eth0" ;; - awapn2403) + asiarf,awapn2403) ucidef_add_switch "switch0" \ "0:lan" "1:wan" "6@eth0" ;; b2c|\ - nw718|\ - psr-680w|\ - sl-r7205|\ - ur-336un|\ - w502u|\ - wr6202) + netcore,nw718|\ + petatel,psr-680w|\ + skyline,sl-r7205|\ + upvel,ur-336un|\ + alfa-network,w502u|\ + accton,wr6202) ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ;; edimax,br-6475nd) @@ -352,8 +352,8 @@ ramips_setup_interfaces() "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "7t@eth0" ;; kingston,mlwg2|\ - wizard8800|\ - wl-330n) + easyacc,wizard-8800|\ + asus,wl-330n) ucidef_set_interface_lan "eth0.1" ;; tplink,archer-mr200) @@ -369,9 +369,9 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "4:lan" "0:wan" "6@eth0" ;; - mzk-dp150n|\ - vocore-8M|\ - vocore-16M) + planex,mzk-dp150n|\ + vocore,vocore-8m|\ + vocore,vocore-16m) ucidef_add_switch "switch0" \ "0:lan" "4:lan" "6t@eth0" ;; @@ -398,7 +398,7 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "8@eth0" ;; - tew-638apb-v2) + trendnet,tew-638apb-v2) ucidef_add_switch "switch0" \ "4:lan" "6@eth0" ;; @@ -414,8 +414,8 @@ ramips_setup_interfaces() "4:lan" "6@eth0" ;; vonets,var11n-300|\ - wt1520-4M|\ - wt1520-8M) + nexx,wt1520-4m|\ + nexx,wt1520-8m) ucidef_add_switch "switch0" \ "0:lan" "4:wan" "6@eth0" ;; @@ -425,8 +425,8 @@ ramips_setup_interfaces() "0:lan" "2:lan" "6t@eth0" ;; belkin,f5d8235-v1|\ - f5d8235-v2|\ - tew-714tru|\ + belkin,f5d8235-v2|\ + trendnet,tew-714tru|\ ralink,v11st-fe|\ buffalo,wzr-agl300nh) ucidef_add_switch "switch0" \ @@ -436,7 +436,7 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "3:lan" "4:wan" "6@eth0" ;; - wcr-150gn|\ + sparklan,wcr-150gn|\ zbtlink,we1026-5g-16m) ucidef_add_switch "switch0" \ "0:lan" "6t@eth0" @@ -445,7 +445,7 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "5:wan" "6@eth0" ;; - wizfi630a) + wiznet,wizfi630a) ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:wan" "6@eth0" ;; @@ -497,30 +497,30 @@ ramips_setup_macs() local wan_mac="" case $board in - a5-v11|\ - ht-tm02|\ + unbranded,a5-v11|\ + hootoo,ht-tm02|\ loewe,wmdr-143n) lan_mac=$(cat /sys/class/net/eth0/address) ;; - carambola|\ - freestation5|\ - w502u|\ - wnce2001) + 8devices,carambola|\ + arcwireless,freestation5|\ + alfa-network,w502u|\ + netgear,wnce2001) wan_mac=$(mtd_get_mac_binary factory 46) ;; - bc2|\ - broadway|\ - d105|\ - dir-300-b7|\ - dir-320-b1|\ - dir-620-a1|\ - esr-9753|\ - freestation5|\ + nexaira,bc2|\ + hauppauge,broadway|\ + huawei,d105|\ + dlink,dir-300-b7|\ + dlink,dir-320-b1|\ + dlink,dir-620-a1|\ + engenius,esr-9753|\ + arcwireless,freestation5|\ hilink,hlk-7628n|\ - hlk-rm04|\ - mpr-a1|\ - psr-680w|\ - sl-r7205|\ + hilink,hlk-rm04|\ + hame,mpr-a1|\ + petatel,psr-680w|\ + skyline,sl-r7205|\ lenovo,newifi-y1|\ lenovo,newifi-y1s) lan_mac=$(cat /sys/class/net/eth0/address) @@ -571,7 +571,7 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_binary factory 57350) ;; glinet,gl-mt300n-v2|\ - whr-g300n) + buffalo,whr-g300n) wan_mac=$(mtd_get_mac_binary factory 4) ;; hiwifi,hc5661|\ @@ -609,11 +609,11 @@ ramips_setup_macs() wan_mac=$(cat /sys/class/net/eth0/address) lan_mac=$(macaddr_setbit_la "$wan_mac") ;; - m3|\ - m4-4M|\ - m4-8M|\ - x5|\ - x8) + poray,m3|\ + poray,m4-4m|\ + poray,m4-8m|\ + poray,x5|\ + poray,x8) lan_mac=$(cat /sys/class/net/eth0/address) lan_mac=$(macaddr_add "$lan_mac" -2) ;; @@ -660,7 +660,7 @@ ramips_setup_macs() lan_mac=$(mtd_get_mac_binary factory 57344) wan_mac=$(mtd_get_mac_binary factory 57350) ;; - w306r-v20) + tenda,w306r-v2) lan_mac=$(cat /sys/class/net/eth0/address) wan_mac=$(macaddr_add "$lan_mac" 5) ;; @@ -670,7 +670,7 @@ ramips_setup_macs() wan_mac="$(grep -m1 mac= "/dev/mtd${index}" | cut -d= -f2)" lan_mac=$wan_mac ;; - wcr-150gn) + sparklan,wcr-150gn) wan_mac=$(mtd_get_mac_binary factory 40) ;; buffalo,whr-1166d|\ @@ -680,7 +680,7 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_binary factory 4) lan_mac=$wan_mac ;; - wizfi630a) + wiznet,wizfi630a) lan_mac=$(mtd_get_mac_binary factory 4) wan_mac=$(mtd_get_mac_binary factory 40) ;; diff --git a/target/linux/ramips/base-files/lib/preinit/04_handle_checksumming b/target/linux/ramips/base-files/lib/preinit/04_handle_checksumming index 3be82ae441..8f741faf9d 100644 --- a/target/linux/ramips/base-files/lib/preinit/04_handle_checksumming +++ b/target/linux/ramips/base-files/lib/preinit/04_handle_checksumming @@ -11,7 +11,7 @@ do_checksumming_disable() { local board=$(board_name) case "$board" in - wnce2001) + netgear,wnce2001) echo "Board is WNCE2001, updating checksum partition..." local zeroes=/dev/zero local tmpfile=/tmp/wnce2001_checksum diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index e52402f0a2..53fc7c30db 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -10,318 +10,9 @@ ramips_board_detect() { machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo) case "$machine" in - *"3G150B") - name="3g150b" - ;; - *"3G300M") - name="3g300m" - ;; - *"3g-6200n") - name="3g-6200n" - ;; - *"3g-6200nl") - name="3g-6200nl" - ;; - *"A5-V11") - name="a5-v11" - ;; - *"Air3GII") - name="air3gii" - ;; - *"ALL0256N (4M)") - name="all0256n-4M" - ;; - *"ALL0256N (8M)") - name="all0256n-8M" - ;; - *"ALL5002") - name="all5002" - ;; - *"ALL5003") - name="all5003" - ;; - *"ASL26555 (8M)") - name="asl26555-8M" - ;; - *"ASL26555 (16M)") - name="asl26555-16M" - ;; - *"ATP-52B") - name="atp-52b" - ;; - *"AWAPN2403") - name="awapn2403" - ;; - *"AWM002 EVB (4M)") - name="awm002-evb-4M" - ;; - *"AWM002 EVB (8M)") - name="awm002-evb-8M" - ;; - *"BC2") - name="bc2" - ;; - *"Broadway") - name="broadway" - ;; - *"Carambola") - name="carambola" - ;; - *"D105") - name="d105" - ;; - *"DAP-1350") - name="dap-1350" - ;; - *"DCS-930") - name="dcs-930" - ;; - *"DCS-930L B1") - name="dcs-930l-b1" - ;; - *"DIR-300 B1") - name="dir-300-b1" - ;; - *"DIR-300 B7") - name="dir-300-b7" - ;; - *"DIR-320 B1") - name="dir-320-b1" - ;; - *"DIR-600 B1") - name="dir-600-b1" - ;; - *"DIR-610 A1") - name="dir-610-a1" - ;; - *"DIR-615 D") - name="dir-615-d" - ;; - *"DIR-615 H1") - name="dir-615-h1" - ;; - *"DIR-620 A1") - name="dir-620-a1" - ;; - *"DIR-620 D1") - name="dir-620-d1" - ;; - *"DWR-512 B") - name="dwr-512-b" - ;; - *"ESR-9753") - name="esr-9753" - ;; - *"F5D8235 v2") - name="f5d8235-v2" - ;; - *"F7C027") - name="f7c027" - ;; - *"Fonera 2.0N") - name="fonera20n" - ;; - *"FreeStation5") - name="freestation5" - ;; - *"HG255D") - name="hg255d" - ;; - *"HLK-RM04") - name="hlk-rm04" - ;; - *"HT-TM02") - name="ht-tm02" - ;; - *"HW550-3G") - name="hw550-3g" - ;; - *"IP2202") - name="ip2202" - ;; - *"JHR-N805R") - name="jhr-n805r" - ;; - *"JHR-N825R") - name="jhr-n825r" - ;; - *"JHR-N926R") - name="jhr-n926r" - ;; - *"M3") - name="m3" - ;; - *"M4 (4M)") - name="m4-4M" - ;; - *"M4 (8M)") - name="m4-8M" - ;; - *"Memory 2 Move") - name="m2m" - ;; - *"MiniEMBPlug") - name="miniembplug" - ;; - *"MiniEMBWiFi") - name="miniembwifi" - ;; - *"MOFI3500-3GN") - name="mofi3500-3gn" - ;; - *"MPR-A1") - name="mpr-a1" - ;; - *"MPR-A2") - name="mpr-a2" - ;; - *"MR-102N") - name="mr-102n" - ;; *"MT7688 evaluation"*) name="mt7688" ;; - *"MZK-DP150N") - name="mzk-dp150n" - ;; - *"MZK-W300NH2"*) - name="mzk-w300nh2" - ;; - *"MZK-WDPR"*) - name="mzk-wdpr" - ;; - *"NBG-419N") - name="nbg-419n" - ;; - *"NBG-419N v2") - name="nbg-419n2" - ;; - *"NCS601W") - name="ncs601w" - ;; - *"NixcoreX1 (8M)") - name="nixcore-x1-8M" - ;; - *"NixcoreX1 (16M)") - name="nixcore-x1-16M" - ;; - *"NW718") - name="nw718" - ;; - *"PSR-680W"*) - name="psr-680w" - ;; - *"PWH2004") - name="pwh2004" - ;; - *"PX-4885 (4M)") - name="px-4885-4M" - ;; - *"PX-4885 (8M)") - name="px-4885-8M" - ;; - *"RN502J") - name="xdxrn502j" - ;; - *"RT5350F-OLinuXino") - name="rt5350f-olinuxino" - ;; - *"RT5350F-OLinuXino-EVB") - name="rt5350f-olinuxino-evb" - ;; - *"RT-G32 B1") - name="rt-g32-b1" - ;; - *"RT-N10+") - name="rt-n10-plus" - ;; - *"RT-N13U") - name="rt-n13u" - ;; - *"RUT5XX") - name="rut5xx" - ;; - *"SL-R7205"*) - name="sl-r7205" - ;; - *"TEW-638APB v2") - name="tew-638apb-v2" - ;; - *"TEW-714TRU") - name="tew-714tru" - ;; - *"UR-326N4G") - name="ur-326n4g" - ;; - *"UR-336UN") - name="ur-336un" - ;; - *"V22RW-2X2") - name="v22rw-2x2" - ;; - *"VoCore (8M)") - name="vocore-8M" - ;; - *"VoCore (16M)") - name="vocore-16M" - ;; - *"W150M") - name="w150m" - ;; - *"W306R V2.0") - name="w306r-v20" - ;; - *"W502U") - name="w502u" - ;; - *"WCR-150GN") - name="wcr-150gn" - ;; - *"WHR-G300N") - name="whr-g300n" - ;; - *"WIZARD 8800") - name="wizard8800" - ;; - *"WizFi630A") - name="wizfi630a" - ;; - *"WL-330N") - name="wl-330n" - ;; - *"WL-330N3G") - name="wl-330n3g" - ;; - *"WL-351 v1 002") - name="wl-351" - ;; - *"WNCE2001") - name="wnce2001" - ;; - *"WR512-3GN (4M)") - name="wr512-3gn-4M" - ;; - *"WR512-3GN (8M)") - name="wr512-3gn-8M" - ;; - *"WR6202") - name="wr6202" - ;; - *"WT1520 (4M)") - name="wt1520-4M" - ;; - *"WT1520 (8M)") - name="wt1520-8M" - ;; - *"X5") - name="x5" - ;; - *"X8") - name="x8" - ;; - *"ZyXEL Keenetic") - name="kn" - ;; esac # use generic board detect if no name is set |