From 7437be53bae03b3d3ee5c3b32ad9f159834d9452 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Fri, 8 May 2015 20:12:39 +0000 Subject: kirkwood: add support for the Seagate GoflexHome Add Support for the Seagate GoflexHome Signed-off-by: L. D. Pinney SVN-Revision: 45647 --- target/linux/kirkwood/base-files/etc/diag.sh | 1 + target/linux/kirkwood/base-files/etc/uci-defaults/01_leds | 1 + target/linux/kirkwood/base-files/etc/uci-defaults/02_network | 1 + target/linux/kirkwood/base-files/lib/kirkwood.sh | 4 ++++ 4 files changed, 7 insertions(+) (limited to 'target/linux/kirkwood/base-files') diff --git a/target/linux/kirkwood/base-files/etc/diag.sh b/target/linux/kirkwood/base-files/etc/diag.sh index 29445d5d0d..716e6c9fbf 100755 --- a/target/linux/kirkwood/base-files/etc/diag.sh +++ b/target/linux/kirkwood/base-files/etc/diag.sh @@ -7,6 +7,7 @@ get_status_led() { case $(kirkwood_board_name) in dockstar|\ + goflexhome|\ goflexnet|\ pogo_e02) status_led="status:orange:fault" diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds index 0f7a906b09..a8ba1f6c3d 100644 --- a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds +++ b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds @@ -20,6 +20,7 @@ case "$board" in ucidef_set_led_default "health" "health" "ea4500:white:health" "1" ucidef_set_led_default "pulse" "pulse" "ea4500:white:pulse" "1" ;; +"goflexhome" | \ "goflexnet") ucidef_set_led_default "health" "health" "status:green:health" "1" ucidef_set_led_default "fault" "fault" "status:orange:fault" "0" diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network index 4ed0ab497a..f0628cd618 100644 --- a/target/linux/kirkwood/base-files/etc/uci-defaults/02_network +++ b/target/linux/kirkwood/base-files/etc/uci-defaults/02_network @@ -29,6 +29,7 @@ ucidef_set_interface_loopback case "$board" in "dockstar"|\ +"goflexhome"|\ "goflexnet"|\ "iconnect"|\ "ib62x0"|\ diff --git a/target/linux/kirkwood/base-files/lib/kirkwood.sh b/target/linux/kirkwood/base-files/lib/kirkwood.sh index c088581215..aa16daf4c0 100755 --- a/target/linux/kirkwood/base-files/lib/kirkwood.sh +++ b/target/linux/kirkwood/base-files/lib/kirkwood.sh @@ -17,6 +17,10 @@ kirkwood_board_detect() { name="dockstar" ;; + "Seagate GoFlex Home") + name="goflexhome" + ;; + "Seagate GoFlex Net") name="goflexnet" ;; -- cgit v1.2.3