X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=mod-ide.sh;h=6742a5849a36837bc70f0ebb3b78c0562a2c1a72;hb=ad5033d7e704edaf52f2be18d4aa98c378179ede;hp=18a9803039e7d490857616de7f4a8eb8c39f083a;hpb=99e7251e73cf636ebe7af9b392fe2c900fae3aed;p=projects%2Fgeninitrd.git diff --git a/mod-ide.sh b/mod-ide.sh index 18a9803..6742a58 100644 --- a/mod-ide.sh +++ b/mod-ide.sh @@ -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