summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-05 02:20:23 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-05 02:20:23 +0000
commitadc0ae6492b42f99930a9a02fa5fcebe6251900e (patch)
tree29271736aecc4c44eff710bfc9ab56d423aac9f4
parentabb843885b8a6879c49bb0944eb1856549be893d (diff)
downloaddrakx-adc0ae6492b42f99930a9a02fa5fcebe6251900e.tar
drakx-adc0ae6492b42f99930a9a02fa5fcebe6251900e.tar.gz
drakx-adc0ae6492b42f99930a9a02fa5fcebe6251900e.tar.bz2
drakx-adc0ae6492b42f99930a9a02fa5fcebe6251900e.tar.xz
drakx-adc0ae6492b42f99930a9a02fa5fcebe6251900e.zip
add support for ALSA on PPC and SPARC
-rw-r--r--kernel/list_modules.pm3
-rw-r--r--perl-install/harddrake/sound.pm3
2 files changed, 5 insertions, 1 deletions
diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm
index 766f201e6..c042640f3 100644
--- a/kernel/list_modules.pm
+++ b/kernel/list_modules.pm
@@ -128,7 +128,8 @@ our %l = (
multimedia =>
{
sound => [
- if_(arch() =~ /ppc/, qw(dmasound_pmac)),
+ if_(arch() =~ /ppc/, qw(dmasound_pmac snd-powermac)),
+ if_(arch() =~ /sparc/, qw(snd-sun-amd7930 snd-sun-cs4231),
if_(arch() !~ /^sparc/,
qw(ad1816 ad1848 ad1889 ali5455 audigy audio awe_wave cmpci cs4232 cs4281 cs46xx),
qw(emu10k1 es1370 es1371 esssolo1 forte gus i810_audio ice1712 kahlua mad16 maestro),
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm
index a06433753..894c08921 100644
--- a/perl-install/harddrake/sound.pm
+++ b/perl-install/harddrake/sound.pm
@@ -27,6 +27,9 @@ my $has_nvaudio = -x '/lib/modules/' . c::kernel_version() . '/';
our %alsa2oss =
(
+ if_(arch() =~ /ppc/, "snd-powermac" => [ "unknown" ]),
+ if_(arch() =~ /sparc/, "snd-sun-amd7930" => [ "unknown" ]),
+ if_(arch() =~ /sparc/, "snd-sun-cs4231" => [ "unknown" ]),
"snd-ad1816a" => [ "ad1816" ], # isa
"snd-ad1848" => [ "ad1848", "pss" ], # isa
"snd-ali5451" => [ "trident" ],