From 37d81ac05a04dbf679d4afedef6f01dc685dbec5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 19 Dec 2000 18:18:07 +0000 Subject: when loading /snd-card-/ module, load snd-pcm-oss --- perl-install/modules.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl-install/modules.pm b/perl-install/modules.pm index e41a29bd1..e29e5d841 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -418,6 +418,9 @@ sub when_load { if ($type =~ /\bscsi\b/ || $type eq $type_aliases{scsi}) { add_alias('scsi_hostadapter', $name), eval { load('sd_mod') }; } + if ($name =~ /^snd-card-/) { + load('snd-pcm-oss', 'prereq'); + } $conf{$name}{options} = join " ", @options if @options; } -- cgit v1.2.1