1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-12 09:21:29 +03:00
openwrt-xburst/target/linux/brcm-2.4
nbd f833889761 (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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11468 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 [brcm-2.4 and brcm47xx] Include missing part of r11275. Fix fw_argX from CFE 2008-06-03 19:29:53 +00:00
patches [brcm-2.4] 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. 2007-04-18 12:28:38 +00:00