diff options
author | Thomas Bächler <thomas@archlinux.org> | 2006-10-23 22:11:02 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2006-10-23 22:11:02 +0200 |
commit | 6a2514b3009f7793b546871f159065690da13d87 (patch) | |
tree | 5eed0d770125a3496a75be2cd97a2e9bc49b8bfe /install/pata | |
parent | da24b3230234a6d73a7ea1d52422245522201d26 (diff) | |
download | mkinitcpio-6a2514b3009f7793b546871f159065690da13d87.tar.gz mkinitcpio-6a2514b3009f7793b546871f159065690da13d87.tar.xz |
- Fixed autodetection
- Minor changes to presets
- Removed ata, made sata 2.6.19-ready and added pata
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@179 880c04e9-e011-0410-abf7-b926e227c9cd
Diffstat (limited to 'install/pata')
-rw-r--r-- | install/pata | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/install/pata b/install/pata new file mode 100644 index 0000000..c3da76f --- /dev/null +++ b/install/pata @@ -0,0 +1,26 @@ +# vim: set ft=sh: + +install () +{ + MODULES=" $(checked_modules "ata/pata_*") $(checked_modules "ata/ata_generic") + $(checked_modules "ata/ata_piix")" + + MODULES=$(echo ${MODULES}) #trim whitespace + if [ "x${MODULES}" != "x" ]; then + MODULES="${MODULES} sd_mod sr_mod" + fi + + BINARIES="" + FILES="" + SCRIPT="" +} + +help () +{ +cat<<HELPEOF + This hook loads the necessary modules for a pata (ide) root device, + using the new libata subsystem. + Detection will take place at runtime. To minimize the modules + in the image, add the autodetect hook too. +HELPEOF +} |