brcm47xx: dont manually insmod switch drivers

Signed-off-by: John Crispin <bloic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36993 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
John Crispin
2013-06-21 16:53:15 +00:00
parent ce0ccca1f7
commit d88dd83d90
2 changed files with 1 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ define KernelPackage/switch
$(PKG_BUILD_DIR)/switch-core.ko \
$(PKG_BUILD_DIR)/switch-adm.ko \
$(PKG_BUILD_DIR)/switch-robo.ko
AUTOLOAD:=$(call AutoLoad,20,switch-core switch-robo switch-adm)
AUTOLOAD:=$(call AutoLoad,20,switch-core switch-robo switch-adm,1)
endef
define KernelPackage/switch/description

View File

@@ -23,10 +23,6 @@ set_preinit_iface() {
}
init_iface() {
insmod switch-core
insmod switch-robo
insmod switch-adm
[ -d /proc/switch/eth0 ] && [ "$ifname" = "eth0" ] && {
case "$(cat /proc/switch/eth0/cpuport)" in
"5") cpu_port="5u*";;