summaryrefslogtreecommitdiff
path: root/scripts/init-premount/ps3
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/init-premount/ps3')
-rwxr-xr-xscripts/init-premount/ps328
1 files changed, 28 insertions, 0 deletions
diff --git a/scripts/init-premount/ps3 b/scripts/init-premount/ps3
new file mode 100755
index 0000000..1fe65ae
--- /dev/null
+++ b/scripts/init-premount/ps3
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+PREREQ=""
+
+prereqs()
+{
+ echo "$PREREQ"
+}
+
+case $1 in
+# get pre-requisites
+prereqs)
+ prereqs
+ exit 0
+ ;;
+esac
+
+case "$DPKG_ARCH" in
+powerpc|ppc64)
+ # For PS3's we know these devices will exist, and we'll need them
+ if grep -q PS3 /proc/cpuinfo; then
+ modprobe ps3_storage
+ modprobe gelic_net
+ modprobe ohci-hcd
+ modprobe ehci-hcd
+ fi
+ ;;
+esac