#------------------------------------------------------------------------------ # /etc/rc.d/rc001.pcengines-alix __FLI4LVER__ # # Creation: 10.09.2006 gdw # Last Update: $Id$ #------------------------------------------------------------------------------ begin_script HWSUPP "load drivers for PC Engines ALIX hardware" do_modprobe geode-rng do_modprobe cryptodev do_modprobe geode-aes do_modprobe cbc do_modprobe ecb do_modprobe_if_exists kernel/crypto aes_generic do_modprobe aes-asm # init gpio do_modprobe cs5535-mfd do_modprobe gpio-cs5535 if [ -e /sys/class/gpio/gpiochip0 ] then # load LED diver do_modprobe leds-gpio do_modprobe leds-alix fi if [ "$HWSUPP_WATCHDOG" = "yes" ] then if [ -n "`pcengines | grep 'MFGPT fix : disabled'`" ] then do_modprobe_if_exists kernel/drivers/watchdog geodewdt else log_error "loading alix watchdog driver while MFGPT fix is enabled is not supported - skipped loading" fi fi do_modprobe scx200_acb do_modprobe lm90 end_script