#!/bin/sh
-IDE_RCSID='$Revision$ $Date:: $'
-
# geninitrd mod: ide
PREIDEMODS="-ide-core unknown -ide-detect -ide-disk -ide-gd_mod"
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
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
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