mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 16:43:09 +02:00
bring up the ethernet driver before loading the switch drivers on broadcom (fixes #1520)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7126 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
04ad31e558
commit
71d706f4a1
@ -66,11 +66,11 @@ case "$(cat /proc/diag/model)" in
|
||||
"ASUS (unknown, BCM4702)") ifname=eth1;;
|
||||
esac
|
||||
|
||||
ifconfig $ifname 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 up
|
||||
|
||||
insmod switch-core
|
||||
insmod switch-robo || insmod switch-adm || rmmod switch-core
|
||||
|
||||
ifconfig $ifname 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 up
|
||||
|
||||
[ -d /proc/switch/eth0 ] && {
|
||||
echo 1 > /proc/switch/eth0/reset
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user