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:
@@ -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;;
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
enable_reset_button() {
|
||||
insmod diag
|
||||
}
|
||||
|
||||
boot_hook_add preinit_main enable_reset_button
|
||||
Reference in New Issue
Block a user