summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-05-12 05:53:15 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-05-12 05:53:15 +0000
commitda6ef9aaab93a05ca14c33c2cee91c223a20fa9c (patch)
tree91940c4c9bce51ecd1f524c68278f483071be6f4
parent6fccd50c057959cf9a9ff9f287a227f3154de232 (diff)
downloaddrakx-da6ef9aaab93a05ca14c33c2cee91c223a20fa9c.tar
drakx-da6ef9aaab93a05ca14c33c2cee91c223a20fa9c.tar.gz
drakx-da6ef9aaab93a05ca14c33c2cee91c223a20fa9c.tar.bz2
drakx-da6ef9aaab93a05ca14c33c2cee91c223a20fa9c.tar.xz
drakx-da6ef9aaab93a05ca14c33c2cee91c223a20fa9c.zip
(probeSerialDevices) really fix serial controllers detection (#15457)
-rw-r--r--perl-install/detect_devices.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 23d4dd142..cb3fe07f9 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -917,8 +917,7 @@ sub usbKeyboard2country_code {
sub probeSerialDevices() {
require list_modules;
require modules;
- modules::probe_category($::o->{modules_conf}, 'various/serial');
- modules::append_to_modules_loaded_at_startup_for_all_kernels(list_modules::category2modules('various/serial'));
+ modules::append_to_modules_loaded_at_startup_for_all_kernels(modules::load_category($::o->{modules_conf}, 'various/serial'));
foreach (0..3) {
#- make sure the device are created before probing,
devices::make("/dev/ttyS$_");