summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/init-premount/thermal9
-rwxr-xr-xscripts/init-top/framebuffer10
2 files changed, 14 insertions, 5 deletions
diff --git a/scripts/init-premount/thermal b/scripts/init-premount/thermal
index 3518e7c..bfea1fc 100755
--- a/scripts/init-premount/thermal
+++ b/scripts/init-premount/thermal
@@ -20,6 +20,15 @@ case "$DPKG_ARCH" in
powerpc|ppc64)
modprobe -q i2c-powermac
modprobe -q therm_pm72
+ modprobe -q windfarm_cpufreq_clamp
+ modprobe -q windfarm_lm75_sensor
+ modprobe -q windfarm_max6690_sensor
+ modprobe -q windfarm_pm112
+ modprobe -q windfarm_pm81
+ modprobe -q windfarm_pm91
+ modprobe -q windfarm_smu_controls
+ modprobe -q windfarm_smu_sat
+ modprobe -q windfarm_smu_sensors
;;
i386|amd64|ia64)
modprobe -q fan
diff --git a/scripts/init-top/framebuffer b/scripts/init-top/framebuffer
index 1d5e375..044b247 100755
--- a/scripts/init-top/framebuffer
+++ b/scripts/init-top/framebuffer
@@ -76,6 +76,11 @@ for x in $(cat /proc/cmdline); do
esac
done
+if [ -n "$FB" ]; then
+ modprobe -q fbcon
+ modprobe -q $FB $OPTS
+fi
+
if [ -e /proc/fb ]; then
while read fbno desc; do
mknod /dev/fb$fbno c 29 $fbno
@@ -86,8 +91,3 @@ fi
for i in 0 1 2 3 4 5 6 7 8; do
mknod /dev/tty$i c 4 $i
done
-
-if [ -n "$FB" ]; then
- modprobe -q fbcon
- modprobe -q $FB $OPTS
-fi