1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-08-19 13:19:52 +03:00
openwrt-xburst/target
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
..
imagebuilder Detach the building of sdk and imagebuilder from "Select all packages 2008-03-19 08:16:02 +00:00
linux (3/6) bcm57xx: preinit 2008-06-15 11:10:13 +00:00
sdk Detach the building of sdk and imagebuilder from "Select all packages 2008-03-19 08:16:02 +00:00
Config.in add new target feature option for fpu 2008-06-03 09:29:58 +00:00
Makefile large improvement for parallel builds. works without V=99 now and without warnings. tested with -j on an 2x dual core opteron machine 2008-06-09 15:38:45 +00:00