]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - Documentation/dvb/get_dvb_firmware
V4L/DVB (3300): Add standard for South Korean NTSC-M using A2 audio.
[mirror_ubuntu-zesty-kernel.git] / Documentation / dvb / get_dvb_firmware
CommitLineData
1da177e4
LT
1#!/usr/bin/perl
2# DVB firmware extractor
3#
4# (c) 2004 Andrew de Quincey
5#
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14#
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21use File::Temp qw/ tempdir /;
22use IO::Handle;
23
24@components = ( "sp8870", "sp887x", "tda10045", "tda10046", "av7110", "dec2000t",
04a45929 25 "dec2540t", "dec3000s", "vp7041", "dibusb", "nxt2002", "nxt2004",
d8e6acf2 26 "or51211", "or51132_qam", "or51132_vsb", "bluebird");
1da177e4
LT
27
28# Check args
29syntax() if (scalar(@ARGV) != 1);
30$cid = $ARGV[0];
31
32# Do it!
33for ($i=0; $i < scalar(@components); $i++) {
34 if ($cid eq $components[$i]) {
35 $outfile = eval($cid);
36 die $@ if $@;