summaryrefslogtreecommitdiff
path: root/hook-functions
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2007-04-13 20:38:06 +0200
committerDavid Härdeman <david@hardeman.nu>2007-04-13 20:38:06 +0200
commit3f94f7f380f1a5fe9afd7e20d0796365c2da25c3 (patch)
treea3843ac6fd4b9c401ed5615aa21928fad8973b46 /hook-functions
parent16fac6738535e973cfe1493f1b9b5c67c5150ffc (diff)
downloadinitramfs-tools-3f94f7f380f1a5fe9afd7e20d0796365c2da25c3.tar.gz
initramfs-tools-3f94f7f380f1a5fe9afd7e20d0796365c2da25c3.zip
Add PS3 module loading functionality.
Diffstat (limited to 'hook-functions')
-rw-r--r--hook-functions8
1 files changed, 7 insertions, 1 deletions
diff --git a/hook-functions b/hook-functions
index f506b49..f33d323 100644
--- a/hook-functions
+++ b/hook-functions
@@ -146,6 +146,12 @@ dep_add_modules()
if [ -e /sys/bus/i2o/devices/ ]; then
manual_add_modules i2o_block
fi
+
+ if [ -e /sys/bus/ps3_system_bus/ ]; then
+ for x in ps3_storage gelic_net ohci-hcd ehci-hcd; do
+ manual_add_modules "${x}"
+ done
+ fi
}
@@ -167,7 +173,7 @@ auto_add_modules()
r8169 s2io sis900 skge slhc smc911x starfire \
sundance sungem sungem_phy sunhme tg3 tlan de2104x \
de4x5 dmfe tulip winbond-840 xircom_cb xircom_tulip_cb \
- typhon via-rhine via-velocity yellowfin; do
+ typhon via-rhine via-velocity yellowfin gelic_net; do
manual_add_modules "${x}"
done
;;