diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-06-15 11:10:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-06-15 11:10:13 +0000 |
commit | 0c1bbd505a3c9221b85f2708a09984aa233014a2 (patch) | |
tree | d77cf76d84d5642678691546e0e0be844c68a46c /package/libertas | |
parent | 7675a31a53dde40b04929d6d99197363439c870d (diff) | |
download | upstream-0c1bbd505a3c9221b85f2708a09984aa233014a2.tar.gz upstream-0c1bbd505a3c9221b85f2708a09984aa233014a2.tar.bz2 upstream-0c1bbd505a3c9221b85f2708a09984aa233014a2.zip |
(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
Diffstat (limited to 'package/libertas')
0 files changed, 0 insertions, 0 deletions