diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-05-27 11:51:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-05-27 11:51:25 +0000 |
commit | 6af857a07509bda54b9d795189e4ef3c5902bc5e (patch) | |
tree | c272df87be13154f18472171a0183b83aa00be96 /perl-install/modules.pm | |
parent | 958e3d2517c8411763ffc5f730edf9a5863a0a0a (diff) | |
download | drakx-6af857a07509bda54b9d795189e4ef3c5902bc5e.tar drakx-6af857a07509bda54b9d795189e4ef3c5902bc5e.tar.gz drakx-6af857a07509bda54b9d795189e4ef3c5902bc5e.tar.bz2 drakx-6af857a07509bda54b9d795189e4ef3c5902bc5e.tar.xz drakx-6af857a07509bda54b9d795189e4ef3c5902bc5e.zip |
have usb-interface1 for ehci-hcd
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r-- | perl-install/modules.pm | 8 |
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 |