summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-05-27 11:51:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-05-27 11:51:25 +0000
commit6af857a07509bda54b9d795189e4ef3c5902bc5e (patch)
treec272df87be13154f18472171a0183b83aa00be96 /perl-install/modules.pm
parent958e3d2517c8411763ffc5f730edf9a5863a0a0a (diff)
downloaddrakx-backup-do-not-use-6af857a07509bda54b9d795189e4ef3c5902bc5e.tar
drakx-backup-do-not-use-6af857a07509bda54b9d795189e4ef3c5902bc5e.tar.gz
drakx-backup-do-not-use-6af857a07509bda54b9d795189e4ef3c5902bc5e.tar.bz2
drakx-backup-do-not-use-6af857a07509bda54b9d795189e4ef3c5902bc5e.tar.xz
drakx-backup-do-not-use-6af857a07509bda54b9d795189e4ef3c5902bc5e.zip
have usb-interface1 for ehci-hcd
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index f6756d594..0a2ece5fe 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -535,6 +535,13 @@ sub when_load {
if ($name =~ /^snd-card-/) {
load('snd-pcm-oss', 'prereq');
}
+ if ($name =~ /usb-[uo]hci/) {
+ add_alias('usb-interface', $name);
+ }
+ if ($name eq 'ehci-hcd') {
+ add_alias('usb-interface1', $name);
+ }
+
$conf{$name}{options} = join " ", @options if @options;
}
@@ -631,7 +638,6 @@ sub load_raw {
/^irq=(\d+)/ and eval { output "/proc/parport/0/irq", $1 };
}
} elsif ($_->[0] =~ /usb-[uo]hci/) {
- add_alias('usb-interface', $_->[0]);
eval {
require fs; fs::mount('/proc/bus/usb', '/proc/bus/usb', 'usbdevfs');
#- ensure keyboard is working, the kernel must do the job the BIOS was doing