From adc0ae6492b42f99930a9a02fa5fcebe6251900e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 5 Aug 2004 02:20:23 +0000 Subject: add support for ALSA on PPC and SPARC --- kernel/list_modules.pm | 3 ++- perl-install/harddrake/sound.pm | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) 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" ], -- cgit v1.2.1