diff options
author | John Crispin <blogic@openwrt.org> | 2013-06-21 16:53:15 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-06-21 16:53:15 +0000 |
commit | d88dd83d900b57574d6bd01b9c82e874e5db36cd (patch) | |
tree | 23fe9401e09fb02b33ee9744fad4db825e569e72 | |
parent | ce0ccca1f72eede3873534cec54f152b3e277362 (diff) | |
download | master-187ad058-d88dd83d900b57574d6bd01b9c82e874e5db36cd.tar.gz master-187ad058-d88dd83d900b57574d6bd01b9c82e874e5db36cd.tar.bz2 master-187ad058-d88dd83d900b57574d6bd01b9c82e874e5db36cd.zip |
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
-rw-r--r-- | package/switch/Makefile | 2 | ||||
-rw-r--r-- | target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/package/switch/Makefile b/package/switch/Makefile index c577584803..fd1504e156 100644 --- a/package/switch/Makefile +++ b/package/switch/Makefile @@ -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 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 e85dd49f42..04992dee16 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 @@ -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*";; |