summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-07-14 12:59:00 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-07-14 12:59:00 +0000
commitef0b9be95e18795c9eabdec012a73c70bca70ac5 (patch)
treee97daaff283f18b3dcb6896a648c652bdf705b74 /target/linux/brcm47xx
parent656d47504330936d80e80c918b25d8a4f7eb3675 (diff)
downloadmtk-20170518-ef0b9be95e18795c9eabdec012a73c70bca70ac5.zip
mtk-20170518-ef0b9be95e18795c9eabdec012a73c70bca70ac5.tar.gz
mtk-20170518-ef0b9be95e18795c9eabdec012a73c70bca70ac5.tar.bz2
brcm47xx: do not load the kernel modules needed for Ethernet manually
add the boot flag to make the kernel modules needed for Ethernet and diag load on startup. SVN-Revision: 37284
Diffstat (limited to 'target/linux/brcm47xx')
-rw-r--r--target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm8
-rw-r--r--target/linux/brcm47xx/base-files/lib/preinit/05_reset_button_brcm7
2 files changed, 0 insertions, 15 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 04992de..ac18e0b 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
@@ -3,14 +3,6 @@
set_preinit_iface() {
ifname=eth0
- insmod diag
- insmod hwmon
- insmod pps_core
- insmod ptp
- insmod tg3
- insmod b44
- insmod bgmac
-
# hardware specific overrides
case "$(cat /proc/diag/model)" in
"Linksys WAP54G V1") ifname=eth1;;
diff --git a/target/linux/brcm47xx/base-files/lib/preinit/05_reset_button_brcm b/target/linux/brcm47xx/base-files/lib/preinit/05_reset_button_brcm
deleted file mode 100644
index 5aa7bc0..0000000
--- a/target/linux/brcm47xx/base-files/lib/preinit/05_reset_button_brcm
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-enable_reset_button() {
- insmod diag
-}
-
-boot_hook_add preinit_main enable_reset_button