diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-15 15:28:41 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-01-15 15:28:41 +0000 |
commit | 6bea210c5f780d53ef7049548fa4d649dd832408 (patch) | |
tree | 42193f0707be9c9420533124012ec05f24f2759b /perl-install | |
parent | 0b23f8f736399d2e7a66baa903f8255c6e96200d (diff) | |
download | drakx-6bea210c5f780d53ef7049548fa4d649dd832408.tar drakx-6bea210c5f780d53ef7049548fa4d649dd832408.tar.gz drakx-6bea210c5f780d53ef7049548fa4d649dd832408.tar.bz2 drakx-6bea210c5f780d53ef7049548fa4d649dd832408.tar.xz drakx-6bea210c5f780d53ef7049548fa4d649dd832408.zip |
- 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
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/detect_devices.pm | 4 |
1 files changed, 4 insertions, 0 deletions
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 ||= {}; |