mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
9621d872ca
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 |
||
---|---|---|
.. | ||
etc | ||
lib/upgrade | ||
sbin |