From c9e2c35f46346fc460a78b8f13b70d538c47cb27 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Thu, 28 Dec 2017 10:18:48 +0100 Subject: kirkwood: use the generic board detect Drop the target specific detection function in favour of the generic one provided by base-files. Signed-off-by: Mathias Kresin --- target/linux/kirkwood/base-files/etc/board.d/01_leds | 18 +++++++++--------- .../linux/kirkwood/base-files/etc/board.d/02_network | 20 ++++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) (limited to 'target/linux/kirkwood/base-files/etc/board.d') diff --git a/target/linux/kirkwood/base-files/etc/board.d/01_leds b/target/linux/kirkwood/base-files/etc/board.d/01_leds index a0b4eca04f..b8a9b479e4 100755 --- a/target/linux/kirkwood/base-files/etc/board.d/01_leds +++ b/target/linux/kirkwood/base-files/etc/board.d/01_leds @@ -10,37 +10,37 @@ board_config_update board=$(board_name) case "$board" in -"dockstar") +"seagate,dockstar") ucidef_set_led_default "health" "health" "status:green:health" "1" ucidef_set_led_default "fault" "fault" "status:orange:fault" "1" ;; -"linksys-audi") +"linksys,audi") ucidef_set_led_default "power" "power" "audi:green:power" "1" ;; -"linksys-viper") +"linksys,viper") ucidef_set_led_default "health" "health" "viper:white:health" "1" ucidef_set_led_default "pulse" "pulse" "viper:white:pulse" "1" ;; -"goflexhome" | \ -"goflexnet") +"seagate,goflexhome" | \ +"seagate,goflexnet") ucidef_set_led_default "health" "health" "status:green:health" "1" ucidef_set_led_default "fault" "fault" "status:orange:fault" "0" ;; -"ib62x0") +"raidsonic,ib-nas62x0") ucidef_set_led_default "health" "health" "ib62x0:green:os" "1" ucidef_set_led_default "fault" "fault" "ib62x0:red:os" "1" ;; -"pogo_e02") +"cloudengines,pogoe02") ucidef_set_led_default "health" "health" "pogo_e02:green:health" "1" ucidef_set_led_default "fault" "fault" "pogo_e02:orange:fault" "1" ;; -"nsa310b") +"zyxel,nsa310b") ucidef_set_led_default "health" "health" "nsa310:green:sys" "1" ucidef_set_led_usbhost "usb" "USB" "nsa310:green:usb" ucidef_set_led_ataport "hdd" "HDD" "nsa310:green:hdd" "1" ucidef_set_led_ataport "esata" "eSata" "nsa310:green:esata" "2" ;; -"nsa325") +"zyxel,nsa325") ucidef_set_led_default "health" "health" "nsa325:green:sys" "1" ucidef_set_led_usbhost "usb" "USB" "nsa325:green:usb" ucidef_set_led_ataport "hdd1" "HDD1" "nsa325:green:sata1" "1" diff --git a/target/linux/kirkwood/base-files/etc/board.d/02_network b/target/linux/kirkwood/base-files/etc/board.d/02_network index 549d232df9..b83d0d25cc 100755 --- a/target/linux/kirkwood/base-files/etc/board.d/02_network +++ b/target/linux/kirkwood/base-files/etc/board.d/02_network @@ -11,24 +11,24 @@ board_config_update board=$(board_name) case "$board" in -"dockstar"|\ -"goflexhome"|\ -"goflexnet"|\ -"ib62x0"|\ -"iconnect"|\ -"pogo_e02") +"seagate,dockstar"|\ +"seagate,goflexhome"|\ +"seagate,goflexnet"|\ +"raidsonic,ib-nas62x0"|\ +"iom,iconnect-1.1"|\ +"cloudengines,pogoe02") ucidef_set_interface_lan "eth0" "dhcp" ;; -"linksys-audi"|\ -"linksys-viper") +"linksys,audi"|\ +"linksys,viper") ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0" "6@eth1" ;; -"nsa310b"|"nsa325") +"zyxel,nsa310b"|"zyxel,nsa325") ucidef_set_interface_lan "eth0" "dhcp" ucidef_set_interface_macaddr "lan" $( mtd_get_mac_ascii uboot_env ethaddr ) ;; -"on100") +"cisco,on100") ucidef_set_interface_lan "eth0 eth1" ;; *) -- cgit v1.2.3