summaryrefslogtreecommitdiff
path: root/scripts/init-top
diff options
context:
space:
mode:
authorMaik Zumstrull <Maik.Zumstrull@gmx.de>2007-03-24 23:48:16 +0100
committermaximilian attems <maks@debian.org>2009-03-31 16:00:05 +0200
commite184c8c2a9ad4520cf0cf4536301c6ae6206e911 (patch)
tree8be609d3ac74fc02c392114db8d003d1640224f1 /scripts/init-top
parent0cdf39d601750d25e7db39d32a6e654026f001df (diff)
init-top/framebuffer: Load intel-agp for intelfb
After further experimentation, I discovered additional problems that my first patch did not address, namely that 1) Some FB drivers need the AGP subsystem up and running before they are loaded and 2) intelfb needs intel-agp.ko, but does not have a dependency on it. intelfb does not actually *work* on my testsystem after this (it crashes), but unlike with plain initramfs-tools, it loads (and prints something useful if loaded with the probeonly option). I'll try to find out why it fails to work tomorrow; it's probably an unrelated issue. [ make the patch applyable, probably whitespace damaged, fix comments, no need to pass -q to modprobe that is set globaly -maks ] (closes: #416063, #455876) Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'scripts/init-top')
-rwxr-xr-xscripts/init-top/framebuffer6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/init-top/framebuffer b/scripts/init-top/framebuffer
index c5c18b9..37456ae 100755
--- a/scripts/init-top/framebuffer
+++ b/scripts/init-top/framebuffer
@@ -72,11 +72,15 @@ for x in $(cat /proc/cmdline); do
esac
done
-# Map command line name to module name and other tweaks
+# Module-specific workarounds
case ${FB} in
matroxfb)
+ # Map command line name to module name
FB=matroxfb_base
;;
+intelfb|i810fb)
+ # Needs AGP driver loaded
+ modprobe intel-agp
uvesafb)
# v86d requires /dev/zero and dev/mem, but udev haven't been started yet
[ -e /dev/zero ] || mknod -m 0666 /dev/zero c 1 5