]> git.pld-linux.org Git - projects/geninitrd.git/blobdiff - mod-ide.sh
Timeout here is not a good idea. rootfs cannot be mounted and kernel oopses due to...
[projects/geninitrd.git] / mod-ide.sh
index 18a9803039e7d490857616de7f4a8eb8c39f083a..6742a5849a36837bc70f0ebb3b78c0562a2c1a72 100644 (file)
@@ -1,6 +1,4 @@
 #!/bin/sh
-IDE_RCSID='$Revision$ $Date::                            $'
-
 # geninitrd mod: ide
 
 PREIDEMODS="-ide-core unknown -ide-detect -ide-disk -ide-gd_mod"
@@ -42,7 +40,7 @@ find_modules_ide() {
 
        local n
        if [ "$kernel_version_long" -lt "002004021" ]; then
-               debug "Finding IDE modules for kernels <= 2.4.20"
+               verbose "Finding IDE modules for kernels <= 2.4.20"
                for n in $PREIDEMODSOLD; do
                        find_module "$n"
                done
@@ -50,7 +48,7 @@ find_modules_ide() {
                local tryauto=1
                for n in $PREIDEMODS; do
                        if [ "X$n" = "Xunknown" ]; then
-                               debug "Finding IDE modules using ide_hostadapter"
+                               verbose "Finding IDE modules using ide_hostadapter"
                                local mod idemodules=$(modprobe_conf | awk '/ide_hostadapter/ { print $3 }')
                                for mod in $idemodules; do
                                        tryauto=0
@@ -60,7 +58,7 @@ find_modules_ide() {
                                if [ "$tryauto" -eq 1 ]; then
                                        # If tryauto {{{
                                        if [ -r /usr/share/pci-database/ide.pci -a -r /proc/bus/pci/devices ]; then
-                                               debug "Finding IDE modules using PCI ID database"
+                                               verbose "Finding IDE modules using PCI ID database"
                                                # Finding IDE modules using PCI ID database {{{
                                                if is_yes "${ide_only_root}"; then
                                                        if [ -f /sys/block/${rootblkdev}/device/../../vendor -a -f /sys/block/${rootblkdev}/device/../../device ]; then
This page took 0.190712 seconds and 4 git commands to generate.