summaryrefslogtreecommitdiff
path: root/scripts/init-premount
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2008-03-31 22:47:58 +0200
committermaximilian attems <max@stro.at>2008-03-31 22:47:58 +0200
commita5a87b52156774a2c01039e80ad2f7706ac8f7e4 (patch)
tree2d0a3fc7b4e665de24d22d0bcfe59acb4f17b5a5 /scripts/init-premount
parent2506a84db53eb95e5616c5b572f82ef4760a773a (diff)
downloadinitramfs-tools-a5a87b52156774a2c01039e80ad2f7706ac8f7e4.tar.gz
initramfs-tools-a5a87b52156774a2c01039e80ad2f7706ac8f7e4.zip
ps3: load the newer modules.
based on a patch by Luke Yelavich <luke.yelavich@canonical.com>.
Diffstat (limited to 'scripts/init-premount')
-rwxr-xr-xscripts/init-premount/ps310
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/init-premount/ps3 b/scripts/init-premount/ps3
index 8f8ce1c..97fc662 100755
--- a/scripts/init-premount/ps3
+++ b/scripts/init-premount/ps3
@@ -17,14 +17,20 @@ esac
case "$DPKG_ARCH" in
powerpc|ppc64)
+ # For PS3's we know these devices will exist,and that we'll need them
while read line; do
if [ "${line}" != "${line#machine*PS3PF}" ]; then
- # For PS3's we know these devices will exist,
- # and that we'll need them
+ # New style
+ modprobe ps3disk
+ modprobe ps3rom
+ modprobe ps3-gelic
+
+ # Old style
modprobe ps3_storage
modprobe gelic_net
modprobe ohci-hcd
modprobe ehci-hcd
+ modprobe sys-manager
fi
done < /proc/cpuinfo
;;