From 6341271057ff097262e3ce079de32ac4e75bfb0b Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 21 Jan 2004 18:37:33 +0000 Subject: misc change: more readable way of setting usb-interface alias --- perl-install/modules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/modules.pm b/perl-install/modules.pm index b7cd594a5..f6e714a69 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -377,7 +377,7 @@ sub when_load { load('snd-pcm-oss') if $name =~ /^snd-/; add_alias('ieee1394-controller', $name) if member($name, 'ohci1394'); - add_probeall('usb-interface', $name) if $name =~ /usb-[uo]hci/ || $name eq 'ehci-hcd'; + add_probeall('usb-interface', $name) if member($name, qw(usb-uhci usb-ohci ehci-hcd)); add_alias('/dev/agpgart', $name) if $name =~ /-agp$/; $conf{$name}{options} = join " ", @options if @options; -- cgit v1.2.1