diff options
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index fe88d2ca7..7093ce36d 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -373,6 +373,12 @@ sub getSoundDevices { (arch() =~ /ppc/ ? \&modules::load_category : \&modules::probe_category)->('multimedia/sound'); } +sub isTVcard { $_[0]{driver} =~ /bttv|saa7134/ } + +sub getTVcards { + grep { isTVcard($_) } detect_devices::probeall(); +} + sub getSerialModem { my ($modem, $mouse) = @_; $mouse ||= {}; |