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 | 9621d872ca496eadb79399d0351abf96abc35338 (patch) | |
tree | d4f8f3f7d0b264ff4d108cfeec1fe7562bb6ea52 /package/switch/src/switch-core.h | |
parent | f9ad520e37ea3ad98451848ab6c461f3fde8d077 (diff) | |
download | mtk-20170518-9621d872ca496eadb79399d0351abf96abc35338.zip mtk-20170518-9621d872ca496eadb79399d0351abf96abc35338.tar.gz mtk-20170518-9621d872ca496eadb79399d0351abf96abc35338.tar.bz2 |
(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
Diffstat (limited to 'package/switch/src/switch-core.h')
0 files changed, 0 insertions, 0 deletions