forked from Ivasoft/openwrt
x86: add led driver for PC Engines APU1
This driver adds the LED support for the PC Engines APU1. This integrates the Linux kernel driver and includes a patch to support newer firmware versions. Also the default LED configuration is updated to use the correct devices. Signed-off-by: Andreas Eberlein <foodeas@aeberlein.de>
This commit is contained in:
committed by
Paul Spooren
parent
09e66112f1
commit
a3e6521c1a
@@ -8,10 +8,10 @@
|
||||
board_config_update
|
||||
|
||||
case "$(board_name)" in
|
||||
pc-engines-apu|pc-engines-apu2|pc-engines-apu3)
|
||||
ucidef_set_led_netdev "wan" "WAN" "apu2:green:led3" "eth0"
|
||||
ucidef_set_led_netdev "lan" "LAN" "apu2:green:led2" "br-lan"
|
||||
ucidef_set_led_default "diag" "DIAG" "apu2:green:power" "1"
|
||||
pc-engines-apu1|pc-engines-apu2|pc-engines-apu3)
|
||||
ucidef_set_led_netdev "wan" "WAN" "apu:green:3" "eth0"
|
||||
ucidef_set_led_netdev "lan" "LAN" "apu:green:2" "br-lan"
|
||||
ucidef_set_led_default "diag" "DIAG" "apu:green:1" "1"
|
||||
;;
|
||||
traverse-technologies-geos)
|
||||
ucidef_set_led_netdev "lan" "LAN" "geos:1" "br-lan" "tx rx"
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
board_config_update
|
||||
|
||||
case "$(board_name)" in
|
||||
pc-engines-apu|pc-engines-apu2|pc-engines-apu3)
|
||||
pc-engines-apu1|pc-engines-apu2|pc-engines-apu3)
|
||||
ucidef_set_interfaces_lan_wan "eth1 eth2" "eth0"
|
||||
;;
|
||||
traverse-technologies-geos)
|
||||
|
||||
Reference in New Issue
Block a user