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
This commit is contained in:
Hauke Mehrtens
2013-07-14 12:59:00 +00:00
parent 656d475043
commit ef0b9be95e
6 changed files with 10 additions and 20 deletions

View File

@@ -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;;

View File

@@ -1,7 +0,0 @@
#!/bin/sh
enable_reset_button() {
insmod diag
}
boot_hook_add preinit_main enable_reset_button