#------------------------------------------------------------------------------ # /etc/rc.d/rc001.alix __FLI4LVER__ # # Creation: 10.09.2006 gdw # Last Update: $Id$ #------------------------------------------------------------------------------ begin_script HWSUPP "load drivers for ALIX-hardware" do_modprobe geode-rng do_modprobe geode-aes #mknod /dev/crypto c 10 70 #do_modprobe cryptosoft #do_modprobe cryptodev # previously used major=253 collides with usb device # we now use 251 but we should switch to dynamiclly # allocated major nodes. It seems that the cs5535_gpio # doesn't create a sysfs entry (at least I can't find # a matching one) do_modprobe cs5535_gpio major=251 mask=0x0b000040 mknod -m 666 /dev/embdled1 c 251 6 mknod -m 666 /dev/embdled2 c 251 25 mknod -m 666 /dev/embdled3 c 251 27 mknod -m 666 /dev/embdbutton c 251 24 if [ $HWSUPP_WATCHDOG = yes ] then if [ 0$kernel_minor -gt 24 ] 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 else # 2.6.16.xx if [ -n "`pcengines | grep 'MFGPT fix : enabled'`" ] then do_modprobe_if_exists kernel/drivers/char/watchdog geodewdt else log_error "loading alix watchdog driver while MFGPT fix is disabled will freeze system - skipped loading" fi fi fi do_modprobe scx200_acb do_modprobe lm90 # access via device, three leds hwsupp_type="-t device -n 3" end_script