Ticket #2023: initramfs-add-ide-options.patch
File initramfs-add-ide-options.patch, 683 bytes (added by , 17 years ago) |
---|
-
init.in
150 150 option=${param#*.} 151 151 echo "options $module $option" >>/etc/modprobe.conf 152 152 ;; 153 ide=*|idebus=*|ide[0123]=*|hd[a-z]=*) 154 ide_core_opts="$ide_core_opts $param" 155 ;; 153 156 pata) 154 157 PATA=1 155 158 ;; … … 186 189 esac 187 190 done 188 191 192 if [ -n "$ide_core_opts" ] ; then 193 # remove the extra space from the beginning 194 ide_core_opts="${ide_core_opts# }" 195 echo "options ide_core options=\"$ide_core_opts\"" >>/etc/modprobe.conf 196 fi 197 189 198 case "$PATA" in 190 199 0) 191 200 for driver in /lib/modules/`uname -r`/kernel/drivers/ata/pata_*.ko ; do