From 6bea210c5f780d53ef7049548fa4d649dd832408 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 15 Jan 2003 15:28:41 +0000 Subject: - factorize snd devices listing in detect_devices::getSoundDevices() so that each caller is ppc aware - factorize sound slots configuration into harddrake::sound::configure_sound_slots() so that harddrake service will eventually set them at bootstrapping time --- perl-install/detect_devices.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install') diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index ab87cadc3..c891bca71 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -368,6 +368,10 @@ sub getCPUs { @cpus; } +sub getSoundDevices { + (arch() =~ /ppc/ ? \&modules::load_category : \&modules::probe_category)->('multimedia/sound'); +} + sub getSerialModem { my ($modem, $mouse) = @_; $mouse ||= {}; -- cgit v1.2.1