diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2013-07-14 12:59:00 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2013-07-14 12:59:00 +0000 |
commit | 5b1af986f6235139f5fedfa97f341bc20a896ef4 (patch) | |
tree | c2c4d81c36594792766b89bc04abeb4a63e05473 /target/linux/brcm47xx/base-files | |
parent | fe0b737198ca1d8a6b31605f183d4f5e17bd2643 (diff) | |
download | upstream-5b1af986f6235139f5fedfa97f341bc20a896ef4.tar.gz upstream-5b1af986f6235139f5fedfa97f341bc20a896ef4.tar.bz2 upstream-5b1af986f6235139f5fedfa97f341bc20a896ef4.zip |
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37284 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/base-files')
-rw-r--r-- | target/linux/brcm47xx/base-files/lib/preinit/05_init_interfaces_brcm | 8 | ||||
-rw-r--r-- | target/linux/brcm47xx/base-files/lib/preinit/05_reset_button_brcm | 7 |
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 04992dee16..ac18e0baf2 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 5aa7bc0b1d..0000000000 --- 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 |