diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-06-28 13:16:39 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-06-28 13:16:39 +0000 |
commit | 78116fed22af96fd2ec3e259d7c936e4c5757a77 (patch) | |
tree | 39dc834d7e53092d2d1d56074acf2e5ba2526b27 /perl-install/modules.pm | |
parent | 11c9c7a88a6375b27eb7f4e2ba64b094a75e143e (diff) | |
download | drakx-78116fed22af96fd2ec3e259d7c936e4c5757a77.tar drakx-78116fed22af96fd2ec3e259d7c936e4c5757a77.tar.gz drakx-78116fed22af96fd2ec3e259d7c936e4c5757a77.tar.bz2 drakx-78116fed22af96fd2ec3e259d7c936e4c5757a77.tar.xz drakx-78116fed22af96fd2ec3e259d7c936e4c5757a77.zip |
- use modularized ide drivers and configure ide-controller in modprobe.conf
- bootloader-config:
o configure ide-controller in modprobe.conf for upgrading to kernels
with modularized ide drivers
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r-- | perl-install/modules.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index 8d6a9f116..c0ebe60de 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -259,9 +259,11 @@ sub when_load { sub when_load_category { my ($conf, $name, $category) = @_; - if ($category =~ m,disk/(ide|scsi|hardware_raid|sata|usb|firewire),) { + if ($category =~ m,disk/ide,) { + $conf->add_probeall('ide-controller', $name); + } elsif ($category =~ m,disk/(scsi|hardware_raid|sata|usb|firewire),) { $conf->add_probeall('scsi_hostadapter', $name); - eval { load('sd_mod') } if $category ne 'disk/ide'; + eval { load('sd_mod') }; } elsif ($category eq 'bus/usb') { $conf->add_probeall('usb-interface', $name); -f '/proc/bus/usb/devices' or eval { |