From 6af857a07509bda54b9d795189e4ef3c5902bc5e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 27 May 2002 11:51:25 +0000 Subject: have usb-interface1 for ehci-hcd --- perl-install/modules.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'perl-install/modules.pm') 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 -- cgit v1.2.1