openwrt/target/linux/brcm-2.4
Felix Fietkau 9621d872ca (3/6) bcm57xx: preinit
This patch allows the bcm57xx module to work correctly with failsafe mode.

insmod doesn't return an error when a module loads but doesn't detect a switch.
I added the check_module function to load the module, then make sure
it doesn't just exit immediately.  This allows preinit to only attempt to
load the bcm57xx module when switch-robo and switch-adm dont detect a switch.

The activate_gpio parameter to bcm57xx simply instructs the module to attempt
to activate the switch via gpio before probing for the switch.

Tested on wrt350n.

Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>

SVN-Revision: 11468
2008-06-15 11:10:13 +00:00
..
base-files (3/6) bcm57xx: preinit 2008-06-15 11:10:13 +00:00
files update brcm-2.4 to 2.4.35.4, integrate new broadcom system code, update broadcom-wl to a contributed version (v4.150.10.5) - no bcm57xx support yet, will follow shortly 2008-01-06 19:28:07 +00:00
image Include missing part of r11275. Fix fw_argX from CFE 2008-06-03 19:29:53 +00:00
patches refresh kernel patches 2008-05-19 13:45:06 +00:00
profiles Add a generic Broadcom USB profile. 2008-03-31 08:05:30 +00:00
base-files.mk minor cleanup 2007-05-10 14:43:52 +00:00
config-default update brcm-2.4 to 2.4.35.4, integrate new broadcom system code, update broadcom-wl to a contributed version (v4.150.10.5) - no bcm57xx support yet, will follow shortly 2008-01-06 19:28:07 +00:00
Makefile adapt profiles for subtarget changes 2007-09-08 20:04:43 +00:00
modules.mk Improved autorebuild for kernel related stuff. - make modules_install in the kernel tree is no longer called - make modules is called on every target/compile run - kmod packages pull the kernel modules directly out of the kernel tree and have proper file depends on them 2007-04-18 12:28:38 +00:00