kirkwood: Seagate GoFlex Net
Add GoFlex Net "Board Name" , set and cleanup network default and LEDs. Remove kmod-rtc-marvell from default packages, as the GoFlex net does not have a RTC. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44422 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
153c8f3cc4
commit
d14e600447
|
@ -6,6 +6,11 @@
|
||||||
|
|
||||||
get_status_led() {
|
get_status_led() {
|
||||||
case $(kirkwood_board_name) in
|
case $(kirkwood_board_name) in
|
||||||
|
dockstar|\
|
||||||
|
goflexnet|\
|
||||||
|
pogo_e02)
|
||||||
|
status_led="status:orange:fault"
|
||||||
|
;;
|
||||||
ea4500)
|
ea4500)
|
||||||
status_led="ea4500:white:health"
|
status_led="ea4500:white:health"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -20,6 +20,10 @@ case "$board" in
|
||||||
ucidef_set_led_default "health" "health" "ea4500:white:health" "1"
|
ucidef_set_led_default "health" "health" "ea4500:white:health" "1"
|
||||||
ucidef_set_led_default "pulse" "pulse" "ea4500:white:pulse" "1"
|
ucidef_set_led_default "pulse" "pulse" "ea4500:white:pulse" "1"
|
||||||
;;
|
;;
|
||||||
|
"goflexnet")
|
||||||
|
ucidef_set_led_default "health" "health" "status:green:health" "1"
|
||||||
|
ucidef_set_led_default "fault" "fault" "status:orange:fault" "0"
|
||||||
|
;;
|
||||||
"ib62x0")
|
"ib62x0")
|
||||||
ucidef_set_led_default "health" "health" "ib62x0:green:os" "1"
|
ucidef_set_led_default "health" "health" "ib62x0:green:os" "1"
|
||||||
ucidef_set_led_default "fault" "fault" "ib62x0:red:os" "1"
|
ucidef_set_led_default "fault" "fault" "ib62x0:red:os" "1"
|
||||||
|
|
|
@ -28,15 +28,10 @@ board=$(kirkwood_board_name)
|
||||||
ucidef_set_interface_loopback
|
ucidef_set_interface_loopback
|
||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
"dockstar")
|
"dockstar"|\
|
||||||
set_lan_dhcp "eth0"
|
"goflexnet"|\
|
||||||
;;
|
"iconnect"|\
|
||||||
"iconnect")
|
"ib62x0"|\
|
||||||
set_lan_dhcp "eth0"
|
|
||||||
;;
|
|
||||||
"ib62x0")
|
|
||||||
set_lan_dhcp "eth0"
|
|
||||||
;;
|
|
||||||
"pogo_e02")
|
"pogo_e02")
|
||||||
set_lan_dhcp "eth0"
|
set_lan_dhcp "eth0"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -17,6 +17,10 @@ kirkwood_board_detect() {
|
||||||
name="dockstar"
|
name="dockstar"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"Seagate GoFlex Net")
|
||||||
|
name="goflexnet"
|
||||||
|
;;
|
||||||
|
|
||||||
"Iomega Iconnect")
|
"Iomega Iconnect")
|
||||||
name="iconnect"
|
name="iconnect"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -25,7 +25,7 @@ define Profile/GOFLEXNET
|
||||||
NAME:=Seagate GoFlexNet
|
NAME:=Seagate GoFlexNet
|
||||||
PACKAGES:= \
|
PACKAGES:= \
|
||||||
kmod-ata-core kmod-ata-marvell-sata \
|
kmod-ata-core kmod-ata-marvell-sata \
|
||||||
kmod-rtc-marvell kmod-usb2 kmod-usb-storage \
|
kmod-usb2 kmod-usb-storage \
|
||||||
uboot-envtools
|
uboot-envtools
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue