summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/base-files/lib
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-03 01:59:43 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-03 01:59:43 +0000
commit70fcf6903deb8a1dc39b8d9e9f37326ef9311eaf (patch)
treedd0a8fc757ffed493c20eeea0d5163397de8273a /target/linux/brcm47xx/base-files/lib
parente3a81c46a5b399e5579144aec5222d3c82055a63 (diff)
brcm47xx: run ifup before starting the switch
In addition check_module is not needed, nobody checks the return value. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34993 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/base-files/lib')
-rw-r--r--target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm b/target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm
index f5aebf5705..3ca8456ffb 100644
--- a/target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm
+++ b/target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm
@@ -4,6 +4,8 @@ set_preinit_iface() {
ifname=eth0
insmod diag
+ insmod hwmon
+ insmod tg3
# hardware specific overrides
case "$(cat /proc/diag/model)" in
@@ -26,8 +28,6 @@ check_module () {
}
init_iface() {
- check_module hwmon
- check_module tg3
insmod switch-core
check_module switch-robo || check_module switch-adm || {
check_module bcm57xx activate_gpio=0x4 && cpu_port="8u*"