b2469bf4d86694a95fed67307ca7c64779449a1a
[openwrt.git] / target / linux / ar71xx / base-files / etc / board.d / 01_leds
1 #!/bin/sh
2 #
3 # Copyright (C) 2011 OpenWrt.org
4 #
5
6 . /lib/functions/uci-defaults.sh
7 . /lib/ar71xx.sh
8
9 board_config_update
10
11 board=$(ar71xx_board_name)
12
13 case "$board" in
14 airgateway | \
15 airgatewaypro)
16         ucidef_set_led_wlan "wlan" "WLAN" "ubnt:blue:wlan" "phy0tpt"
17         ;;
18 alfa-nx)
19         ucidef_set_led_netdev "wan" "WAN" "alfa:green:led_2" "eth0"
20         ucidef_set_led_netdev "lan" "LAN" "alfa:green:led_3" "eth1"
21         ;;
22
23 all0258n)
24         ucidef_set_rssimon "wlan0" "40000" "1"
25         ucidef_set_led_rssi "rssilow" "RSSILOW" "all0258n:red:rssilow" "wlan0" "1" "40" "0" "6"
26         ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "all0258n:yellow:rssimedium" "wlan0" "30" "80" "-29" "5"
27         ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0258n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
28         ;;
29
30 all0315n)
31         ucidef_set_rssimon "wlan0" "40000" "1"
32         ucidef_set_led_rssi "rssilow" "RSSILOW" "all0315n:red:rssilow" "wlan0" "1" "40" "0" "6"
33         ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "all0315n:yellow:rssimedium" "wlan0" "30" "80" "-29" "5"
34         ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0315n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
35         ;;
36
37 antminer-s1)
38         ucidef_set_led_default "sys" "SYS" "antminer-s1:green:sys" "0"
39         ucidef_set_led_wlan "wlan" "WLAN" "antminer-s1:green:wlan" "phy0tpt"
40         ;;
41
42 antminer-s3)
43         ucidef_set_led_wlan "wlan" "WLAN" "antminer-s3:green:wlan" "phy0tpt"
44         ucidef_set_led_default "sys" "SYS" "antminer-s3:green:sys" "0"
45         ucidef_set_led_default "lan" "LAN" "antminer-s3:yellow:lan" "0"
46         ;;
47
48 antrouter-r1)
49         ucidef_set_led_wlan "wlan" "WLAN" "antrouter-r1:green:wlan" "phy0tpt"
50         ucidef_set_led_default "btc" "BTC" "antrouter-r1:green:btc" "0"
51         ;;
52
53 arduino-yun)
54         ucidef_set_led_wlan "wlan" "WLAN" "arduino:blue:wlan" "phy0tpt"
55         ucidef_set_led_usbdev "usb" "USB" "arduino:white:usb" "1-1.1"
56         ;;
57
58 ap113)
59         ucidef_set_led_usbdev "usb" "USB" "ap113:green:usb" "1-1"
60         ;;
61
62 ap147-010)
63         ucidef_set_led_netdev "wan" "WAN" "ap147:green:wan" "eth1"
64         ucidef_set_led_switch "lan1" "LAN1" "ap147:green:lan1" "switch0" "0x10"
65         ucidef_set_led_switch "lan2" "LAN2" "ap147:green:lan2" "switch0" "0x08"
66         ucidef_set_led_switch "lan3" "LAN3" "ap147:green:lan3" "switch0" "0x04"
67         ucidef_set_led_switch "lan4" "LAN4" "ap147:green:lan4" "switch0" "0x02"
68         ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "ap147:green:wlan-2g" "phy0tpt"
69         ;;
70
71 bsb)
72         ucidef_set_led_default "sys" "SYS" "bsb:red:sys" "1"
73         ;;
74
75 bullet-m | \
76 nanostation-m | \
77 rocket-m | \
78 rocket-m-xw | \
79 nanostation-m-xw | \
80 loco-m-xw)
81         ucidef_set_led_rssi "rssilow" "RSSILOW" "ubnt:red:link1" "wlan0" "1" "100" "0" "13"
82         ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "ubnt:orange:link2" "wlan0" "26" "100" "-25" "13"
83         ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "ubnt:green:link3" "wlan0" "51" "100" "-50" "13"
84         ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "ubnt:green:link4" "wlan0" "76" "100" "-75" "13"
85         ;;
86
87 rocket-m-ti)
88         ucidef_set_led_rssi "rssiverylow"       "RSSIVERYLOW"           "ubnt:green:link1" "wlan0" "1" "100" "0" "13"
89         ucidef_set_led_rssi "rssilow"           "RSSILOW"               "ubnt:green:link2" "wlan0" "26" "100" "-25" "13"
90         ucidef_set_led_rssi "rssimediumlow"     "RSSIMEDIUMLOW"         "ubnt:green:link3" "wlan0" "51" "100" "-50" "13"
91         ucidef_set_led_rssi "rssimediumhigh"    "RSSIMEDIUMHIGH"        "ubnt:green:link4" "wlan0" "76" "100" "-75" "13"
92         ucidef_set_led_rssi "rssihigh"          "RSSIHIGH"              "ubnt:green:link5" "wlan0" "76" "100" "-75" "13"
93         ucidef_set_led_rssi "rssiveryhigh"      "RSSIVERYHIGH"          "ubnt:green:link4" "wlan0" "76" "100" "-75" "13"
94         ;;
95
96 bxu2000n-2-a1)
97         ucidef_set_led_wlan "wlan" "WLAN" "bhu:green:wlan" "phy0tpt"
98         ;;
99
100 cap324)
101         ucidef_set_led_netdev "lan" "LAN" "pcs:green:lan" "eth0"
102         ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "pcs:amber:wlan" "phy0tpt"
103         ucidef_set_led_wlan "wlan_green" "WLAN_GREEN" "pcs:green:wlan" "phy1tpt"
104         ;;
105
106 c-55)
107         ucidef_set_led_netdev "lan_green" "LAN_GREEN" "c-55:green:lan" "eth0"
108         ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "c-55:amber:wlan" "phy0tpt"
109         ucidef_set_led_wlan "wlan_green" "WLAN_GREEN" "c-55:green:wlan" "phy1tpt"
110         ;;
111
112 cap4200ag)
113         ucidef_set_led_default "lan_green" "LAN_GREEN" "senao:green:lan" "1"
114         ucidef_set_led_wlan "wlan_amber" "WLAN_AMBER" "senao:amber:wlan" "phy0tpt"
115         ucidef_set_led_wlan "wlan_green" "WLAN_GREEN" "senao:green:wlan" "phy1tpt"
116         ;;
117
118 carambola2)
119         ucidef_set_led_netdev "lan" "LAN" "carambola2:orange:eth0" "eth0"
120         ucidef_set_led_netdev "wan" "WAN" "carambola2:orange:eth1" "eth1"
121         ucidef_set_led_wlan "wlan" "WLAN" "carambola2:green:wlan" "phy0tpt"
122         ;;
123
124 cf-e316n-v2)
125         ucidef_set_led_netdev "lan" "LAN" "$board:blue:lan" "eth0"
126         ucidef_set_led_netdev "wan" "WAN" "$board:blue:wan" "eth1"
127         ucidef_set_led_wlan "wlan" "WLAN" "$board:blue:wlan" "phy0tpt"
128         ;;
129
130 cpe510)
131         ucidef_set_led_switch "lan0" "LAN0" "tp-link:green:lan0" "switch0" "0x20"
132         ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
133         ucidef_set_rssimon "wlan0" "40000" "1"
134         ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:green:link1" "wlan0" "1" "100" "0" "13"
135         ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:green:link2" "wlan0" "26" "100" "-25" "13"
136         ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:green:link3" "wlan0" "51" "100" "-50" "13"
137         ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:green:link4" "wlan0" "76" "100" "-75" "13"
138         ;;
139
140 cr3000)
141         ucidef_set_led_netdev "wan" "WAN" "pcs:blue:wan" "eth1"
142         ucidef_set_led_switch "lan1" "LAN1" "pcs:blue:lan1" "switch0" "0x04"
143         ucidef_set_led_switch "lan2" "LAN2" "pcs:blue:lan2" "switch0" "0x08"
144         ucidef_set_led_switch "lan3" "LAN3" "pcs:blue:lan3" "switch0" "0x10"
145         ucidef_set_led_switch "lan4" "LAN4" "pcs:blue:lan4" "switch0" "0x02"
146         ucidef_set_led_wlan "wlan" "WLAN" "pcs:blue:wlan" "phy0tpt"
147         ;;
148
149 cr5000)
150         ucidef_set_led_wlan "wlan" "WLAN" "pcs:blue:wlan" "phy0tpt"
151         ucidef_set_led_usbdev "usb" "USB" "pcs:white:wps" "1-1"
152         ;;
153
154 db120)
155         ucidef_set_led_usbdev "usb" "USB" "db120:green:usb" "1-1"
156         ;;
157
158 dragino2)
159         ucidef_set_led_wlan "wlan" "WLAN" "dragino2:red:wlan" "phy0tpt"
160         ucidef_set_led_netdev "lan" "LAN" "dragino2:red:lan" "eth0"
161         ucidef_set_led_netdev "wan" "WAN" "dragino2:red:wan" "eth1"
162         ;;
163
164 eap300v2)
165         ucidef_set_led_netdev "lan" "LAN" "engenius:blue:lan" "eth0"
166         ucidef_set_led_wlan "wlan" "WLAN" "engenius:blue:wlan" "phy0tpt"
167         ;;
168
169 f9k1115v2)
170         ucidef_set_led_usbdev "usb2" "USB2" "belkin:green:usb2" "1-1"
171         ;;
172
173 rb-750)
174         ucidef_set_led_default "act" "act" "rb750:green:act" "1"
175         ucidef_set_led_netdev "port1" "port1" "rb750:green:port1" "eth1"
176         ucidef_set_led_switch "port2" "port2" "rb750:green:port2" "switch0" "0x10"
177         ucidef_set_led_switch "port3" "port3" "rb750:green:port3" "switch0" "0x08"
178         ucidef_set_led_switch "port4" "port4" "rb750:green:port4" "switch0" "0x04"
179         ucidef_set_led_switch "port5" "port5" "rb750:green:port5" "switch0" "0x02"
180         ;;
181
182 rb-2011l|\
183 rb-2011uas|\
184 rb-2011uias|\
185 rb-2011uas-2hnd|\
186 rb-2011uias-2hnd)
187         ucidef_set_led_switch "eth6" "ETH6" "rb:green:eth6" "switch1" "0x20"
188         ucidef_set_led_switch "eth7" "ETH7" "rb:green:eth7" "switch1" "0x10"
189         ucidef_set_led_switch "eth8" "ETH8" "rb:green:eth8" "switch1" "0x08"
190         ucidef_set_led_switch "eth9" "ETH9" "rb:green:eth9" "switch1" "0x04"
191         ucidef_set_led_switch "eth10" "ETH10" "rb:green:eth10" "switch1" "0x02"
192         ;;
193
194 dhp-1565-a1)
195         ucidef_set_led_switch "wan" "WAN" "d-link:green:planet" "switch0" "0x20"
196         ;;
197
198 dir-505-a1)
199         ucidef_set_led_netdev "lan" "LAN" "d-link:green:power" "eth1"
200         ;;
201
202 dir-600-a1|\
203 dir-615-e1|\
204 dir-615-e4)
205         ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth1"
206         ucidef_set_led_switch "lan1" "LAN1" "d-link:green:lan1" "switch0" "0x02"
207         ucidef_set_led_switch "lan2" "LAN2" "d-link:green:lan2" "switch0" "0x04"
208         ucidef_set_led_switch "lan3" "LAN3" "d-link:green:lan3" "switch0" "0x08"
209         ucidef_set_led_switch "lan4" "LAN4" "d-link:green:lan4" "switch0" "0x10"
210         ;;
211
212 dir-615-c1)
213         ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth1"
214         ucidef_set_led_wlan "wlan" "WLAN" "d-link:green:wlan" "phy0tpt"
215         ;;
216
217 dir-825-b1)
218         ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
219         ;;
220
221 dir-615-i1)
222         ucidef_set_led_default "power" "POWER" "d-link:green:power" "1"
223         ucidef_set_led_default "diag" "DIAG" "d-link:amber:power" "0"
224         ucidef_set_led_default "wps" "WPS" "d-link:blue:wps" "0"
225         ucidef_set_led_netdev "wan" "WAN" "d-link:green:wan" "eth0"
226         ucidef_set_led_wlan "wlan" "WLAN" "d-link:green:wlan" "phy0tpt"
227         ;;
228
229 dir-825-c1)
230         ucidef_set_led_usbdev "usb" "USB" "d-link:blue:usb" "1-1"
231         ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "d-link:blue:wlan2g" "phy0tpt"
232         ;;
233
234 dlan-hotspot)
235         ucidef_set_led_wlan "wlan" "WLAN" "devolo:green:wifi" "phy0tpt"
236         ;;
237
238 dlan-pro-500-wp)
239         ucidef_set_led_default "power" "System Power" "devolo:green:status" "1"
240         ucidef_set_led_netdev "lan" "Ethernet Activity" "devolo:green:eth" "br-lan"
241         ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "devolo:green:wlan-2g" "phy0tpt"
242         ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "devolo:blue:wlan-5g" "none"
243         ;;
244
245 dlan-pro-1200-ac)
246         ucidef_set_led_wlan "wlan" "WLAN" "devolo:status:wlan" "phy0radio"
247         ucidef_set_led_gpio "plcw" "dLAN" "devolo:status:dlan" "17" "0"
248         ucidef_set_led_gpio "plcr" "dLAN" "devolo:error:dlan" "16" "0"
249         ;;
250
251 gl-ar150)
252         ucidef_set_led_wlan "wlan" "WLAN" "gl_ar150:wlan" "phy0tpt"
253         ;;
254
255 gl-ar300)
256         ucidef_set_led_wlan "wlan" "WLAN" "gl_ar300:wlan" "phy0tpt"
257         ;;
258
259 gl-domino)
260         ucidef_set_led_wlan "wlan" "WLAN" "domino:blue:wlan" "phy0tpt"
261         ;;
262
263 gl-inet)
264         ucidef_set_led_netdev "lan" "LAN" "gl-connect:green:lan" "eth1"
265         ucidef_set_led_wlan "wlan" "WLAN" "gl-connect:red:wlan" "phy0tpt"
266         ;;
267
268 esr900)
269         ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "engenius:blue:wlan-2g" "phy0tpt"
270         ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "engenius:blue:wlan-5g" "phy1tpt"
271         ;;
272
273 esr1750)
274         ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "esr1750:blue:wlan-2g" "phy1tpt"
275         ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "esr1750:blue:wlan-5g" "phy0tpt"
276         ;;
277
278 epg5000)
279         ucidef_set_led_wlan "wlan2g" "WLAN 2.4 GHz" "epg5000:blue:wlan-2g" "phy1tpt"
280         ucidef_set_led_wlan "wlan5g" "WLAN 5 GHz" "epg5000:blue:wlan-5g" "phy0tpt"
281         ;;
282
283 hiwifi-hc6361)
284         ucidef_set_led_netdev "inet" "INET" "hiwifi:blue:internet" "eth1"
285         ucidef_set_led_wlan "wlan" "WLAN" "hiwifi:blue:wlan-2p4" "phy0tpt"
286         ;;
287
288 hornet-ub | \
289 hornet-ub-x2)
290         ucidef_set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0"
291         ucidef_set_led_netdev "wan" "WAN" "alfa:blue:wan" "eth1"
292         ucidef_set_led_wlan "wlan" "WLAN" "alfa:blue:wlan" "phy0tpt"
293         ucidef_set_led_usbdev "usb" "USB" "alfa:blue:usb" "1-1"
294         ;;
295
296 mc-mac1200r)
297         ucidef_set_led_wlan "wlan2g" "WLAN2G" "mercury:green:wlan2g" "phy1tpt"
298         ucidef_set_led_wlan "wlan5g" "WLAN5G" "mercury:green:wlan5g" "phy0tpt"
299         ;;
300
301 mr12)
302         ucidef_set_led_netdev "wan" "WAN" "mr12:green:wan" "eth0"
303         ucidef_set_led_wlan "wlan1" "WLAN1" "mr12:green:wifi1" "phy0assoc"
304         ucidef_set_led_wlan "wlan2" "WLAN2" "mr12:green:wifi2" "phy0assoc"
305         ucidef_set_led_wlan "wlan3" "WLAN3" "mr12:green:wifi3" "phy0assoc"
306         ucidef_set_led_wlan "wlan4" "WLAN4" "mr12:green:wifi4" "phy0tpt"
307         ;;
308
309 mr16)
310         ucidef_set_led_netdev "wan" "WAN" "mr16:green:wan" "eth0"
311         ucidef_set_led_wlan "wlan1" "WLAN1" "mr16:green:wifi1" "phy0assoc"
312         ucidef_set_led_wlan "wlan2" "WLAN2" "mr16:green:wifi2" "phy0assoc"
313         ucidef_set_led_wlan "wlan3" "WLAN3" "mr16:green:wifi3" "phy0assoc"
314         ucidef_set_led_wlan "wlan4" "WLAN4" "mr16:green:wifi4" "phy0tpt"
315         ;;
316
317 mr18)
318         ucidef_set_led_netdev "wlan0" "WLAN0" "mr18:blue:tricolor0" "wlan0"
319         ;;
320
321 mr600)
322         ucidef_set_led_wlan "wlan58" "WLAN58" "mr600:green:wlan58" "phy0tpt"
323         ;;
324
325 mr1750)
326         ucidef_set_led_netdev "lan" "LAN" "mr1750:blue:wan" "eth0"
327         ucidef_set_led_wlan "wlan58" "WLAN58" "mr1750:blue:wlan58" "phy0tpt"
328         ucidef_set_led_wlan "wlan24" "WLAN24" "mr1750:blue:wlan24" "phy1tpt"
329         ;;
330
331 mr900 | \
332 mr900v2)
333         ucidef_set_led_netdev "lan" "LAN" "mr900:blue:wan" "eth0"
334         ucidef_set_led_wlan "wlan24" "WLAN24" "mr900:blue:wlan24" "phy0tpt"
335         ucidef_set_led_wlan "wlan58" "WLAN58" "mr900:blue:wlan58" "phy1tpt"
336         ;;
337
338 mynet-n600)
339         ucidef_set_led_netdev "wan" "WAN" "wd:blue:internet" "eth1"
340         ucidef_set_led_switch "lan1" "LAN1" "wd:green:lan1" "switch0" "0x02"
341         ucidef_set_led_switch "lan2" "LAN2" "wd:green:lan2" "switch0" "0x10"
342         ucidef_set_led_switch "lan3" "LAN3" "wd:green:lan3" "switch0" "0x08"
343         ucidef_set_led_switch "lan4" "LAN4" "wd:green:lan4" "switch0" "0x04"
344         ;;
345
346 mynet-rext)
347         ucidef_set_led_netdev "lan" "LAN" "wd:blue:ethernet" "eth0"
348         ucidef_set_rssimon "wlan0" "40000" "1"
349         ucidef_set_led_rssi "rssilow" "RSSILOW" "wd:blue:quality1" "wlan0" "1" "40" "0" "6"
350         ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "wd:blue:quality2" "wlan0" "30" "80" "-29" "5"
351         ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "wd:blue:quality3" "wlan0" "70" "100" "-69" "8"
352         ucidef_set_led_wlan "wlan" "WLAN" "wd:blue:wireless" "phy0tpt"
353         ;;
354
355 mzk-w04u)
356         ucidef_set_led_usbdev "usb" "USB" "planex:green:usb" "1-1"
357         ;;
358
359 mzk-w300nh)
360         ucidef_set_led_wlan "wlan" "WLAN" "planex:green:wlan" "phy0tpt"
361         ;;
362
363 nbg460n_550n_550nh)
364         ucidef_set_led_wlan "wlan" "WLAN" "nbg460n:green:wlan" "phy0tpt"
365         ;;
366
367 nbg6616)
368         ucidef_set_led_wlan "wlan" "WLAN" "nbg6616:green:wifi2g" "phy1tpt"
369         ucidef_set_led_wlan "wlan5" "WLAN5" "nbg6616:green:wifi5g" "phy0tpt"
370         ucidef_set_led_usbdev "usb1" "USB1" "nbg6616:green:usb1" "1-1"
371         ucidef_set_led_usbdev "usb2" "USB2" "nbg6616:green:usb2" "2-1"
372         ;;
373
374 nbg6716)
375         ucidef_set_led_netdev "wan" "WAN" "nbg6716:white:internet" "eth1"
376         ucidef_set_led_wlan "wlan" "WLAN" "nbg6716:white:wifi2g" "phy1tpt"
377         ucidef_set_led_wlan "wlan5" "WLAN5" "nbg6716:white:wifi5g" "phy0tpt"
378         ucidef_set_led_usbdev "usb1" "USB1" "nbg6716:white:usb1" "1-1"
379         ucidef_set_led_usbdev "usb2" "USB2" "nbg6716:white:usb2" "2-1"
380         ;;
381
382 om2p | \
383 om2pv2 | \
384 om2p-hs | \
385 om2p-hsv2 | \
386 om2p-lc)
387         ucidef_set_led_netdev "port1" "port1" "om2p:blue:wan" "eth0"
388         ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"
389         ;;
390
391 om5p | \
392 om5p-an)
393         ucidef_set_led_netdev "port1" "port1" "om5p:blue:wan" "eth0"
394         ucidef_set_led_netdev "port2" "port2" "om5p:blue:lan" "eth1"
395         ;;
396
397 om5p-ac)
398         ucidef_set_led_netdev "port1" "port1" "om5pac:blue:lan" "eth0"
399         ucidef_set_led_netdev "port2" "port2" "om5pac:blue:wan" "eth1"
400         ;;
401
402 omy-x1)
403         ucidef_set_led_default "power" "POWER" "omy:green:power" "1"
404         ucidef_set_led_default "wan" "WAN" "omy:green:wan" "eth0"
405         ;;
406
407 qihoo-c301)
408         ucidef_set_led_wlan "wlan2g" "WLAN2G" "qihoo:red:status" "phy1tpt"
409         ;;
410
411 smart-300)
412         ucidef_set_led_netdev "wan" "WAN" "nc-link:green:wan" "eth0"
413         ucidef_set_led_switch "lan1" "LAN1" "nc-link:green:lan1" "switch0" "0x04"
414         ucidef_set_led_switch "lan2" "LAN2" "nc-link:green:lan2" "switch0" "0x08"
415         ucidef_set_led_switch "lan3" "LAN3" "nc-link:green:lan3" "switch0" "0x10"
416         ucidef_set_led_switch "lan4" "LAN4" "nc-link:green:lan4" "switch0" "0x02"
417         ucidef_set_led_wlan "wlan" "WLAN" "nc-link:green:wlan" "phy0tpt"
418         ;;
419
420 tellstick-znet-lite)
421         ucidef_set_led_netdev "lan_act" "LANACT" "tellstick:green:lan" "eth0" "tx rx"
422         ucidef_set_led_netdev "lan_link" "LANLINK" "tellstick:orange:lan" "eth0" "link"
423         ;;
424
425 tew-712br)
426         ucidef_set_led_netdev "wan" "WAN" "trendnet:green:wan" "eth1"
427         ucidef_set_led_switch "lan1" "LAN1" "trendnet:green:lan1" "switch0" "0x02"
428         ucidef_set_led_switch "lan2" "LAN2" "trendnet:green:lan2" "switch0" "0x04"
429         ucidef_set_led_switch "lan3" "LAN3" "trendnet:green:lan3" "switch0" "0x08"
430         ucidef_set_led_switch "lan4" "LAN4" "trendnet:green:lan4" "switch0" "0x10"
431         ucidef_set_led_wlan "wlan" "WLAN" "trendnet:green:wlan" "phy0tpt"
432         ;;
433
434 tew-732br)
435         ucidef_set_led_netdev "wan" "WAN" "trendnet:green:wan" "eth1"
436         ;;
437
438 tew-823dru)
439         ucidef_set_led_netdev "wan" "WAN" "trendnet:green:planet" "eth0"
440         ;;
441
442 tl-mr11u | \
443 tl-mr3020 | \
444 tl-mr3040 | \
445 tl-mr3040-v2)
446         ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
447         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
448         ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan"  "eth0"
449         ;;
450
451 tl-mr3220 | \
452 tl-mr3420 )
453         ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
454         ;;
455
456 tl-mr3220-v2)
457         ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
458         ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
459         ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
460         ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
461         ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
462         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
463         ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
464         ;;
465
466 tl-mr3420-v2)
467         ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0"
468         ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
469         ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
470         ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
471         ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
472         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
473         ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
474         ;;
475
476 tl-wa7210n-v2)
477         ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
478         ucidef_set_rssimon "wlan0" "40000" "1"
479         ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:green:signal1" "wlan0" "1" "100" "0" "13"
480         ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:green:signal2" "wlan0" "26" "100" "-25" "13"
481         ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:green:signal3" "wlan0" "51" "100" "-50" "13"
482         ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:green:signal4" "wlan0" "76" "100" "-75" "13"
483         ;;
484
485 tl-wa750re)
486         ucidef_set_led_netdev "lan" "LAN" "tp-link:orange:lan" "eth0"
487         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:orange:wlan" "phy0tpt"
488         ucidef_set_rssimon "wlan0" "40000" "1"
489         ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:orange:signal1" "wlan0" "1" "100" "0" "13"
490         ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:orange:signal2" "wlan0" "20" "100" "-19" "13"
491         ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "tp-link:orange:signal3" "wlan0" "40" "100" "-39" "13"
492         ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:orange:signal4" "wlan0" "60" "100" "-59" "13"
493         ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:orange:signal5" "wlan0" "80" "100" "-79" "13"
494         ;;
495
496 tl-wa850re)
497         ucidef_set_led_netdev "lan" "LAN" "tp-link:blue:lan" "eth0"
498         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:wlan" "phy0tpt"
499         ucidef_set_rssimon "wlan0" "40000" "1"
500         ucidef_set_led_rssi "rssilow" "RSSILOW" "tp-link:blue:signal1" "wlan0" "1" "100" "0" "13"
501         ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "tp-link:blue:signal2" "wlan0" "20" "100" "-19" "13"
502         ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "tp-link:blue:signal3" "wlan0" "40" "100" "-39" "13"
503         ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "tp-link:blue:signal4" "wlan0" "60" "100" "-59" "13"
504         ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "tp-link:blue:signal5" "wlan0" "80" "100" "-79" "13"
505         ;;
506
507 tl-wa701nd-v2)
508         ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
509         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
510         ;;
511
512 tl-wa860re)
513         ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
514         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
515         ;;
516
517 tl-wa901nd)
518         ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
519         ;;
520
521 tl-wa901nd-v2)
522         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
523         ;;
524
525 tl-wdr3320-v2)
526         ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:green:wlan5g" "phy0tpt"
527         ;;
528
529 tl-wdr3500)
530         ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
531         ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:green:wlan2g" "phy0tpt"
532         ;;
533
534 tl-wdr4300)
535         ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1.1"
536         ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "1-1.2"
537         ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt"
538         ;;
539
540 tl-wdr4900-v2)
541         ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1"
542         ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1"
543         ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy0tpt"
544         ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:blue:wlan5g" "phy1tpt"
545         ;;
546
547 tl-wdr6500-v2)
548         ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
549         ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x02"
550         ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x04"
551         ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x08"
552         ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x10"
553         ;;
554
555 archer-c5|\
556 archer-c7)
557         ucidef_set_led_usbdev "usb1" "USB1" "tp-link:green:usb1" "1-1"
558         ucidef_set_led_usbdev "usb2" "USB2" "tp-link:green:usb2" "2-1"
559         ucidef_set_led_wlan "wlan2g" "WLAN2G" "tp-link:blue:wlan2g" "phy1tpt"
560         ucidef_set_led_wlan "wlan5g" "WLAN5G" "tp-link:blue:wlan5g" "phy0tpt"
561         ;;
562
563 tl-wr741nd)
564         ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
565         ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x02"
566         ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x04"
567         ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x08"
568         ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x10"
569         ;;
570
571 tl-wr741nd-v4)
572         ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
573         ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
574         ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
575         ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
576         ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
577         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
578         ;;
579
580 tl-wr841n-v8 | \
581 tl-wr941nd-v5)
582         ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0"
583         ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
584         ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
585         ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
586         ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
587         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
588         ;;
589
590 tl-wr941nd-v6)
591         ucidef_set_led_netdev "wan" "WAN" "tp-link:blue:wan" "eth0"
592         ucidef_set_led_switch "lan1" "LAN1" "tp-link:blue:lan1" "switch0" "0x10"
593         ucidef_set_led_switch "lan2" "LAN2" "tp-link:blue:lan2" "switch0" "0x08"
594         ucidef_set_led_switch "lan3" "LAN3" "tp-link:blue:lan3" "switch0" "0x04"
595         ucidef_set_led_switch "lan4" "LAN4" "tp-link:blue:lan4" "switch0" "0x02"
596         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:blue:wlan" "phy0tpt"
597         ;;
598
599 tl-wa830re-v2)
600         ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
601         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
602         ;;
603
604 tl-wr841n-v9)
605         ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth1"
606         ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x10"
607         ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
608         ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x04"
609         ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
610         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
611         ;;
612
613 tl-wr842n-v2)
614         ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0"
615         ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
616         ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"
617         ucidef_set_led_switch "lan3" "LAN3" "tp-link:green:lan3" "switch0" "0x10"
618         ucidef_set_led_switch "lan4" "LAN4" "tp-link:green:lan4" "switch0" "0x02"
619         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
620         ucidef_set_led_usbdev "usb" "USB" "tp-link:green:3g" "1-1"
621         ;;
622
623 tl-wa801nd-v2 | \
624 tl-wa901nd-v3)
625         ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
626         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
627         ;;
628
629 tl-wa901nd-v4)
630         ucidef_set_led_netdev "lan" "LAN" "tp-link:green:lan" "eth0"
631         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
632         ;;
633
634 tl-wr941nd | \
635 tl-wr1041n-v2)
636         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
637         ;;
638
639 tl-wr1043nd | \
640 tl-wr1043nd-v2)
641         ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
642         ucidef_set_led_wlan "wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
643         ;;
644
645 tl-wr2543n)
646         ucidef_set_led_usbdev "usb" "USB" "tp-link:green:usb" "1-1"
647         ;;
648
649 tube2h)
650         ucidef_set_led_netdev "lan" "LAN" "alfa:blue:lan" "eth0"
651         ucidef_set_rssimon "wlan0" "40000" "1"
652         ucidef_set_led_rssi "signal1" "SIGNAL1" "alfa:red:signal1" "wlan0" "1" "100" "0" "13"
653         ucidef_set_led_rssi "signal2" "SIGNAL2" "alfa:orange:signal2" "wlan0" "26" "100" "-25" "13"
654         ucidef_set_led_rssi "signal3" "SIGNAL3" "alfa:green:signal3" "wlan0" "51" "100" "-50" "13"
655         ucidef_set_led_rssi "signal4" "SIGNAL4" "alfa:green:signal4" "wlan0" "76" "100" "-75" "13"
656         ;;
657
658 wrt160nl)
659         ucidef_set_led_wlan "wlan" "WLAN" "wrt160nl:blue:wlan" "phy0tpt"
660         ;;
661
662 wndap360)
663         ucidef_set_led_power "power" "POWER GREEN" "netgear:green:power" "1"
664         ;;
665
666 wndr3700)
667         ucidef_set_led_default "wan" "WAN LED (green)" "netgear:green:wan" "0"
668         ucidef_set_led_usbdev "usb" "USB" "netgear:green:usb" "1-1"
669         ;;
670
671 r6100)
672         ucidef_set_led_netdev "wan" "WAN (green)" "netgear:green:wan" "eth0"
673         ucidef_set_led_usbdev "usb" "USB" "netgear:blue:usb" "1-1"
674         ucidef_set_led_wlan "wlan" "WLAN" "netgear:blue:wlan" "phy1tpt"
675         ;;
676
677 wndr3700v4 | \
678 wndr4300)
679         ucidef_set_led_netdev "wan" "WAN (green)" "netgear:green:wan" "eth0.2"
680         ucidef_set_led_usbdev "usb" "USB" "netgear:green:usb" "1-1"
681         ucidef_set_led_wlan "wlan2g" "WLAN2G" "netgear:green:wlan2g" "phy0tpt"
682         ucidef_set_led_wlan "wlan5g" "WLAN5G" "netgear:blue:wlan5g" "phy1tpt"
683         ;;
684
685 whr-g301n |\
686 whr-hp-g300n |\
687 whr-hp-gn)
688         ucidef_set_led_netdev "wan" "WAN" "buffalo:green:wan" "eth1"
689         ucidef_set_led_switch "lan1" "LAN1" "buffalo:green:lan1" "switch0" "0x02"
690         ucidef_set_led_switch "lan2" "LAN2" "buffalo:green:lan2" "switch0" "0x04"
691         ucidef_set_led_switch "lan3" "LAN3" "buffalo:green:lan3" "switch0" "0x08"
692         ucidef_set_led_switch "lan4" "LAN4" "buffalo:green:lan4" "switch0" "0x10"
693         ;;
694
695 wlae-ag300n)
696         ucidef_set_led_netdev "wireless" "WIRELESS" "buffalo:green:wireless" "wlan0"
697         ;;
698
699 wnr1000-v2 |\
700 wnr2000-v3)
701         ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
702         ucidef_set_led_default "wan-green" "WAN (green)" "netgear:green:wan" "0"
703         ucidef_set_led_netdev "wlan" "WLAN" "netgear:blue:wlan" "wlan0"
704         ucidef_set_led_switch "lan1green" "LAN1 (green)" "netgear:green:lan1" "switch0" "0x02" "0x04"
705         ucidef_set_led_switch "lan2green" "LAN2 (green)" "netgear:green:lan2" "switch0" "0x04" "0x04"
706         ucidef_set_led_switch "lan3green" "LAN3 (green)" "netgear:green:lan3" "switch0" "0x08" "0x04"
707         ucidef_set_led_switch "lan4green" "LAN4 (green)" "netgear:green:lan4" "switch0" "0x10" "0x04"
708         ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "netgear:amber:lan1" "switch0" "0x02" "0x02"
709         ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "netgear:amber:lan2" "switch0" "0x04" "0x02"
710         ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "netgear:amber:lan3" "switch0" "0x08" "0x02"
711         ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "netgear:amber:lan4" "switch0" "0x10" "0x02"
712         ;;
713
714 wnr2000-v4)
715         ucidef_set_led_netdev "wan" "WAN" "netgear:green:wan" "eth0"
716         ucidef_set_led_netdev "wlan" "WLAN" "netgear:blue:wlan" "wlan0"
717         ucidef_set_led_switch "lan1" "LAN1" "netgear:amber:lan1" "switch0" "0x02"
718         ucidef_set_led_switch "lan2" "LAN2" "netgear:amber:lan2" "switch0" "0x04"
719         ucidef_set_led_switch "lan3" "LAN3" "netgear:amber:lan3" "switch0" "0x08"
720         ucidef_set_led_switch "lan4" "LAN4" "netgear:amber:lan4" "switch0" "0x10"
721         ucidef_set_led_usbdev "usb" "USB" "netgear:amber:status" "1-1"
722         ;;
723
724 wnr2200)
725         ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
726         ucidef_set_led_default "wan-green" "WAN (green)" "netgear:green:wan" "0"
727         ucidef_set_led_netdev "wlan" "WLAN" "netgear:blue:wlan" "wlan0"
728         ucidef_set_led_switch "lan1green" "LAN1 (green)" "netgear:green:lan1" "switch0" "0x02" "0x04"
729         ucidef_set_led_switch "lan2green" "LAN2 (green)" "netgear:green:lan2" "switch0" "0x04" "0x04"
730         ucidef_set_led_switch "lan3green" "LAN3 (green)" "netgear:green:lan3" "switch0" "0x08" "0x04"
731         ucidef_set_led_switch "lan4green" "LAN4 (green)" "netgear:green:lan4" "switch0" "0x10" "0x04"
732         ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "netgear:amber:lan1" "switch0" "0x02" "0x02"
733         ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "netgear:amber:lan2" "switch0" "0x04" "0x02"
734         ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "netgear:amber:lan3" "switch0" "0x08" "0x02"
735         ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "netgear:amber:lan4" "switch0" "0x10" "0x02"
736         ucidef_set_led_usbdev "usb" "USB" "netgear:green:usb" "1-1"
737         ;;
738
739 wnr612-v2)
740         ucidef_set_led_netdev "wan" "WAN" "netgear:green:wan" "eth0"
741         ucidef_set_led_netdev "wlan" "WLAN" "netgear:green:wlan" "wlan0"
742         ucidef_set_led_switch "lan1" "LAN1" "netgear:green:lan1" "switch0" "0x02" "0x0f"
743         ucidef_set_led_switch "lan2" "LAN2" "netgear:green:lan2" "switch0" "0x04" "0x0f"
744         ;;
745
746 wpn824n)
747         ucidef_set_led_netdev "wan-amber" "WAN (amber)" "netgear:amber:wan" "eth0"
748         ucidef_set_led_wlan "wlan" "WLAN" "netgear:blue:wlan" "phy0tpt"
749         ucidef_set_led_switch "lan1amber" "LAN1 (amber)" "netgear:amber:lan1" "switch0" "0x02"
750         ucidef_set_led_switch "lan2amber" "LAN2 (amber)" "netgear:amber:lan2" "switch0" "0x04"
751         ucidef_set_led_switch "lan3amber" "LAN3 (amber)" "netgear:amber:lan3" "switch0" "0x08"
752         ucidef_set_led_switch "lan4amber" "LAN4 (amber)" "netgear:amber:lan4" "switch0" "0x10"
753         ucidef_set_led_default "lan1green" "LAN1 (green)" "netgear:green:lan1" "0"
754         ucidef_set_led_default "lan2green" "LAN2 (green)" "netgear:green:lan2" "0"
755         ucidef_set_led_default "lan3green" "LAN3 (green)" "netgear:green:lan3" "0"
756         ucidef_set_led_default "lan4green" "LAN4 (green)" "netgear:green:lan4" "0"
757         ucidef_set_led_default "wan-green" "WAN (green)" "netgear:green:wan" "0"
758         ucidef_set_led_default "wps1" "WPS1" "netgear:blue:wps1" "0"
759         ucidef_set_led_default "wps2" "WPS2" "netgear:blue:wps2" "0"
760         ucidef_set_led_default "status" "STATUS" "netgear:amber:status" "0"
761         ucidef_set_led_default "test" "TEST" "netgear:amber:test" "0"
762         ;;
763
764 wzr-hp-ag300h)
765         ucidef_set_led_default "diag" "DIAG" "buffalo:red:diag" "0"
766         ucidef_set_led_netdev "router" "ROUTER" "buffalo:green:router" "eth1"
767         ucidef_set_led_usbdev "usb" "USB" "buffalo:green:usb" "1-1"
768         ;;
769
770 wzr-hp-g300nh)
771         ucidef_set_led_wlan "wlan" "Wireless" "buffalo:green:wireless" "phy0tpt"
772         ucidef_set_led_netdev "router" "Router" "buffalo:green:router" "eth1"
773         ucidef_set_led_usbdev "usb" "USB" "buffalo:blue:usb" "1-1"
774         ;;
775
776 zcn-1523h-2)
777         ucidef_set_led_netdev "lan1" "lan1" "zcn-1523h:green:lan1" "eth0"
778         ;;
779
780 zcn-1523h-5)
781         ucidef_set_led_netdev "lan1" "lan1" "zcn-1523h:green:lan1" "eth0"
782         ucidef_set_led_netdev "lan2" "lan2" "zcn-1523h:green:lan2" "eth1"
783         ;;
784 esac
785
786 board_config_flush
787
788 exit 0