summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2004-01-21 18:37:33 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2004-01-21 18:37:33 +0000
commit6341271057ff097262e3ce079de32ac4e75bfb0b (patch)
treee5e220e12ff2f6aef5f1811806dae9cc26b50a99 /perl-install
parentd4e4073e33a7af4dc23d26395a5c209e6ceb17da (diff)
downloaddrakx-backup-do-not-use-6341271057ff097262e3ce079de32ac4e75bfb0b.tar
drakx-backup-do-not-use-6341271057ff097262e3ce079de32ac4e75bfb0b.tar.gz
drakx-backup-do-not-use-6341271057ff097262e3ce079de32ac4e75bfb0b.tar.bz2
drakx-backup-do-not-use-6341271057ff097262e3ce079de32ac4e75bfb0b.tar.xz
drakx-backup-do-not-use-6341271057ff097262e3ce079de32ac4e75bfb0b.zip
misc change: more readable way of setting usb-interface alias
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules.pm2
1 files changed, 1 insertions, 1 deletions
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;