brcm47xx: run ifup before starting the switch
In addition check_module is not needed, nobody checks the return value. SVN-Revision: 34993
This commit is contained in:
parent
d8f1fa1e38
commit
22d62d311a
1 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,8 @@ set_preinit_iface() {
|
||||||
ifname=eth0
|
ifname=eth0
|
||||||
|
|
||||||
insmod diag
|
insmod diag
|
||||||
|
insmod hwmon
|
||||||
|
insmod tg3
|
||||||
|
|
||||||
# hardware specific overrides
|
# hardware specific overrides
|
||||||
case "$(cat /proc/diag/model)" in
|
case "$(cat /proc/diag/model)" in
|
||||||
|
@ -26,8 +28,6 @@ check_module () {
|
||||||
}
|
}
|
||||||
|
|
||||||
init_iface() {
|
init_iface() {
|
||||||
check_module hwmon
|
|
||||||
check_module tg3
|
|
||||||
insmod switch-core
|
insmod switch-core
|
||||||
check_module switch-robo || check_module switch-adm || {
|
check_module switch-robo || check_module switch-adm || {
|
||||||
check_module bcm57xx activate_gpio=0x4 && cpu_port="8u*"
|
check_module bcm57xx activate_gpio=0x4 && cpu_port="8u*"
|
||||||
|
|
Loading…
Reference in a new issue