From 72b4fdecc9bb33aea7b6a58dcefd4553d093f266 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Sun, 27 May 2012 13:22:11 +0000 Subject: bcm63xx: move the board name workaround to /lib/brcm63xx.sh SVN-Revision: 31872 --- target/linux/brcm63xx/base-files/lib/brcm63xx.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'target/linux/brcm63xx/base-files/lib/brcm63xx.sh') diff --git a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh index 488aed8..e4ac5e3 100755 --- a/target/linux/brcm63xx/base-files/lib/brcm63xx.sh +++ b/target/linux/brcm63xx/base-files/lib/brcm63xx.sh @@ -13,6 +13,10 @@ brcm63xx_has_reset_button="" brcm63xx_detect() { board_name=$(awk 'BEGIN{FS="[ \t:/]+"} /system type/ {print $4}' /proc/cpuinfo) + if [ "$board_name" = "96358VW" ] && [ -e /proc/switch/eth1/enable ]; then + board_name="DVAG3810BN" + fi + case "$board_name" in 96348GW) status_led="power" -- cgit v1.1