aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/dvb/get_dvb_firmware
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-11 13:33:51 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 16:55:51 -0400
commit8b9456ae04b1cb7adcaa57735324f7b518eae07d (patch)
tree34651cc01ba62fd5e83b359540a7e3422b22726a /Documentation/dvb/get_dvb_firmware
parent5eee2bb270e34b2e8b245838faef3f9455c69ce6 (diff)
[media] em28xx: Change firmware name for Terratec H5 DRX-K
Use a name convention for the firmware file that matches on the current firmware namespacing. Also, add it to the firmware download script. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/dvb/get_dvb_firmware')
-rwxr-xr-x[-rw-r--r--]Documentation/dvb/get_dvb_firmware15
1 files changed, 14 insertions, 1 deletions
diff --git a/Documentation/dvb/get_dvb_firmware b/Documentation/dvb/get_dvb_firmware
index 224d9e685d5c..c466f5831f15 100644..100755
--- a/Documentation/dvb/get_dvb_firmware
+++ b/Documentation/dvb/get_dvb_firmware
@@ -27,7 +27,7 @@ use IO::Handle;
27 "or51211", "or51132_qam", "or51132_vsb", "bluebird", 27 "or51211", "or51132_qam", "or51132_vsb", "bluebird",
28 "opera1", "cx231xx", "cx18", "cx23885", "pvrusb2", "mpc718", 28 "opera1", "cx231xx", "cx18", "cx23885", "pvrusb2", "mpc718",
29 "af9015", "ngene", "az6027", "lme2510_lg", "lme2510c_s7395", 29 "af9015", "ngene", "az6027", "lme2510_lg", "lme2510c_s7395",
30 "lme2510c_s7395_old", "drxk"); 30 "lme2510c_s7395_old", "drxk", "drxk_terratec_h5");
31 31
32# Check args 32# Check args
33syntax() if (scalar(@ARGV) != 1); 33syntax() if (scalar(@ARGV) != 1);
@@ -652,6 +652,19 @@ sub drxk {
652 "$fwfile" 652 "$fwfile"
653} 653}
654 654
655sub drxk_terratec_h5 {
656 my $url = "http://www.linuxtv.org/downloads/firmware/";
657 my $hash = "19000dada8e2741162ccc50cc91fa7f1";
658 my $fwfile = "dvb-usb-terratec-h5-drxk.fw";
659
660 checkstandard();
661
662 wgetfile($fwfile, $url . $fwfile);
663 verify($fwfile, $hash);
664
665 "$fwfile"
666}
667
655# --------------------------------------------------------------- 668# ---------------------------------------------------------------
656# Utilities 669# Utilities
657 670