diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-07-05 08:26:53 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-07-05 08:26:53 +0000 |
commit | bb0fdf520962eb5d4dba438699be9338e91b697f (patch) | |
tree | 22141a43927332f9b30f1c0fc0d555428d9a75e9 /target/linux/ar71xx/base-files | |
parent | 42ccb52ed3efb103686fa6362c54d315c5de229c (diff) | |
download | master-187ad058-bb0fdf520962eb5d4dba438699be9338e91b697f.tar.gz master-187ad058-bb0fdf520962eb5d4dba438699be9338e91b697f.tar.bz2 master-187ad058-bb0fdf520962eb5d4dba438699be9338e91b697f.zip |
ar71xx: add support for the OpenMesh OM2P-LC board
Patch-by: Marek Linder <marek@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32611 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/diag.sh | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/leds | 3 | ||||
-rwxr-xr-x | target/linux/ar71xx/base-files/lib/ar71xx.sh | 3 |
3 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/ar71xx/base-files/etc/diag.sh b/target/linux/ar71xx/base-files/etc/diag.sh index 76518bd3cd..f52012f75a 100755 --- a/target/linux/ar71xx/base-files/etc/diag.sh +++ b/target/linux/ar71xx/base-files/etc/diag.sh @@ -84,7 +84,8 @@ get_status_led() { nbg460n_550n_550nh) status_led="nbg460n:green:power" ;; - om2p) + om2p | \ + om2p-lc) status_led="om2p:blue:power" ;; pb44) diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/leds b/target/linux/ar71xx/base-files/etc/uci-defaults/leds index 0415221872..e32d33d2ad 100755 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/leds +++ b/target/linux/ar71xx/base-files/etc/uci-defaults/leds @@ -63,7 +63,8 @@ nbg460n_550n_550nh) ucidef_set_led_wlan "wlan" "WLAN" "nbg460n:green:wlan" "phy0tpt" ;; -om2p) +om2p | \ +om2p-lc) ucidef_set_led_netdev "port1" "port1" "om2p:blue:wan" "eth0" ucidef_set_led_netdev "port2" "port2" "om2p:blue:lan" "eth1" ;; diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh index 40e76d56f5..702fa7e546 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh @@ -225,6 +225,9 @@ ar71xx_board_detect() { *OM2P) name="om2p" ;; + *"OM2P LC") + name="om2p-lc" + ;; *PB42) name="pb42" ;; |