openwrtv4/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 refresh kernel patches 2008-05-19 06:34:16 +00:00
ar7 ar7: refresh patches 2008-06-12 22:33:48 +00:00
at91 refresh kernel patches 2008-05-19 06:35:41 +00:00
atheros refresh kernel patches 2008-05-19 07:16:54 +00:00
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
brcm-2.4 (3/6) bcm57xx: preinit 2008-06-15 11:10:13 +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
etrax upgrade to 2.6.25.6 2008-06-11 11:38:39 +00:00
generic-2.4 refresh generic-2.4 patches 2008-05-19 13:44:11 +00:00
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 upgrade to latest kernel versions (2.6.25.4; 2.6.24.7; 2.6.23.17; 2.6.22.19) 2008-05-18 20:12:54 +00:00
ixp4xx upgrade to 2.6.25.6 2008-06-11 11:38:39 +00:00
magicbox refresh kernel patches 2008-05-19 11:05:50 +00:00
olpc missing config in olpc kernelconfig 2008-05-22 05:49:27 +00:00
orion temporary hack to fixup the mach id for the wrt350nv2 2008-06-13 12:58:28 +00:00
ppc40x refresh kernel patches 2008-05-19 12:00:02 +00:00
ppc44x refresh kernel patches 2008-05-19 12:00:20 +00:00
ps3 upgrade to 2.6.25.6 2008-06-11 11:38:39 +00:00
pxa refresh kernel patches 2008-05-19 12:03:12 +00:00
rb532 fix image names in the wget2nand script 2008-06-07 17:47:21 +00:00
rdc Use 2.6.25.6 for rdc 2008-06-12 08:07:08 +00:00
sibyte upgrade to latest kernel versions (2.6.25.4; 2.6.24.7; 2.6.23.17; 2.6.22.19) 2008-05-18 20:12:54 +00:00
storm rename and renumber storm patches 2008-06-05 17:14:02 +00:00
uml upgrade to latest kernel versions (2.6.25.4; 2.6.24.7; 2.6.23.17; 2.6.22.19) 2008-05-18 20:12:54 +00:00
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