#------------------------------------------------------------------------------ # /etc/boot.d/soekris-hw __FLI4LVER__ # # Creation: 10.09.2006 gdw # Last Update: $Id$ #------------------------------------------------------------------------------ embd_load_drivers() { major=254 do_modprobe gpio mknod /dev/gpio0 c $major 0 mknod /dev/gpio1 c $major 1 mknod /dev/gpio254 c $major 254 ln -s /proc/driver/soekris_error_led /dev/embdled1 # access via device, one led, inverted logik, no button embd_type="-t device -n 1 -i -b" } watchdogd_load_drivers() { do_modprobe scx200_wdt sleep 1 } i2c_load_drivers() { echo "no special modules needed for i2c" } i2c_get_temperature() { temperature="`grep 'Temp 2' /proc/driver/soekris_temp | cut -d' ' -f4`" } embedded_subtype=-gpio