summaryrefslogtreecommitdiffstats
path: root/install/sata-auto
diff options
context:
space:
mode:
Diffstat (limited to 'install/sata-auto')
-rw-r--r--install/sata-auto20
1 files changed, 20 insertions, 0 deletions
diff --git a/install/sata-auto b/install/sata-auto
new file mode 100644
index 0000000..d3e89b6
--- /dev/null
+++ b/install/sata-auto
@@ -0,0 +1,20 @@
+# vim: set ft=sh:
+
+install ()
+{
+ MODULES=" $(auto_modules "scsi/.*ata") "
+ for m in $MODULES; do
+ [ "$m" == "ata_piix" ] && MODULES="$MODULES piix"
+ done
+ BINARIES=""
+ FILES=""
+ SCRIPT="sata"
+}
+
+help ()
+{
+cat<<HELPEOF
+ This hook loads the necessary modules for an sata root device.
+ Detection will take place at runtime.
+HELPEOF
+}