Openwrt/target/linux
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
..
adm5120 add packages required by failsafe support to defaults 2008-06-08 06:43:21 +00:00
amazon
ar7 ar7: refresh patches 2008-06-12 22:33:48 +00:00
at91
atheros
au1000 upgrade to 2.6.25.6 2008-06-11 11:38:39 +00:00
avr32 avr32: clean and refresh patch 2008-06-12 22:24:27 +00:00
brcm47xx upgrade to 2.6.25.6 2008-06-11 11:38:39 +00:00
brcm63xx upgrade to 2.6.25.6 2008-06-11 11:38:39 +00:00
brcm-2.4 (3/6) bcm57xx: preinit 2008-06-15 11:10:13 +00:00
etrax upgrade to 2.6.25.6 2008-06-11 11:38:39 +00:00
generic-2.4
generic-2.6 upgrade orion and sync to 2.6.26-rc6 2008-06-13 12:12:34 +00:00
ifxmips upgrade to 2.6.25.6 2008-06-11 11:38:39 +00:00
iop32x
ixp4xx upgrade to 2.6.25.6 2008-06-11 11:38:39 +00:00
magicbox
olpc
orion temporary hack to fixup the mach id for the wrt350nv2 2008-06-13 12:58:28 +00:00
ppc40x
ppc44x
ps3 upgrade to 2.6.25.6 2008-06-11 11:38:39 +00:00
pxa
rb532
rdc Use 2.6.25.6 for rdc 2008-06-12 08:07:08 +00:00
sibyte
storm
uml
x86 upgrade to 2.6.25.6 2008-06-11 11:38:39 +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