summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2010-04-04 02:15:17 +0200
committermaximilian attems <maks@debian.org>2010-04-04 02:16:39 +0200
commit7ea605d62c6fca441a40820a573a2e0ef704f183 (patch)
treedc65f4887efcbeeb1f28d96cbd936cb27cbaf6a9 /scripts
parent87d45befb832480954c8c025aee823f1627b9526 (diff)
downloadinitramfs-tools-7ea605d62c6fca441a40820a573a2e0ef704f183.tar.gz
initramfs-tools-7ea605d62c6fca441a40820a573a2e0ef704f183.zip
Use ata_generic driver on all_generic_ide bootarg
[ merge from 0.92bubuntu1 ] Reported-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/init-top/all_generic_ide4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/init-top/all_generic_ide b/scripts/init-top/all_generic_ide
index 3274ee8..e9539d8 100755
--- a/scripts/init-top/all_generic_ide
+++ b/scripts/init-top/all_generic_ide
@@ -16,11 +16,11 @@ esac
for x in $(cat /proc/cmdline); do
case ${x} in
all_generic_ide)
- modprobe ide-generic
+ modprobe ata_generic all_generic_ide=1
;;
all_generic_ide=*)
if [ ${x#all_generic_ide=} ]; then
- modprobe ide-generic
+ modprobe ata_generic all_generic_ide=1
fi
;;
esac