Просмотр исходного кода

ar71xx: add user-space support for OpenMesh OM2P-HSv2

Signed-off-by: Marek Lindner <[email protected]>
[[email protected]: Rebased]
Signed-off-by: Sven Eckelmann <[email protected]>

SVN-Revision: 40962
John Crispin 11 лет назад
Родитель
Сommit
ac3fd59a2b

+ 1 - 0
target/linux/ar71xx/base-files/etc/diag.sh

@@ -100,6 +100,7 @@ get_status_led() {
 	om2p | \
 	om2pv2 | \
 	om2p-hs | \
+	om2p-hsv2 | \
 	om2p-lc)
 		status_led="om2p:blue:power"
 		;;

+ 1 - 0
target/linux/ar71xx/base-files/etc/uci-defaults/01_leds

@@ -153,6 +153,7 @@ nbg6716)
 om2p | \
 om2pv2 | \
 om2p-hs | \
+om2p-hsv2 | \
 om2p-lc)
 	ucidef_set_led_netdev "port1" "port1" "om2p:blue:wan" "eth0"
 	ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1"

+ 3 - 0
target/linux/ar71xx/base-files/lib/ar71xx.sh

@@ -364,6 +364,9 @@ ar71xx_board_detect() {
 	*"OM2P HS")
 		name="om2p-hs"
 		;;
+	*"OM2P HSv2")
+		name="om2p-hsv2"
+		;;
 	*"OM2P LC")
 		name="om2p-lc"
 		;;