summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2010-02-05 07:52:44 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 15:10:56 -0300
commite7e41d3b59877475e4c19ddd0d33cb3ef5298f87 (patch)
treefa1f18502acc648aa91c760bff6830c8caf530ce
parent6fd2d0f924e352e50a35ac9d9534ccc91b5c9bb9 (diff)
downloadop-kernel-dev-e7e41d3b59877475e4c19ddd0d33cb3ef5298f87.zip
op-kernel-dev-e7e41d3b59877475e4c19ddd0d33cb3ef5298f87.tar.gz
V4L/DVB: get_dvb_firmware: Add function to retrieve nGene firmwares
Commiter: Oliver Endriss <o.endriss@gmx.de> Use 'get_dvb_firmware ngene' to download 'ngene_15.fw' and 'ngene_17.fw'. Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--Documentation/dvb/get_dvb_firmware20
1 files changed, 19 insertions, 1 deletions
diff --git a/Documentation/dvb/get_dvb_firmware b/Documentation/dvb/get_dvb_firmware
index 14b7b5a..f550fda 100644
--- a/Documentation/dvb/get_dvb_firmware
+++ b/Documentation/dvb/get_dvb_firmware
@@ -26,7 +26,7 @@ use IO::Handle;
"dec3000s", "vp7041", "dibusb", "nxt2002", "nxt2004",
"or51211", "or51132_qam", "or51132_vsb", "bluebird",
"opera1", "cx231xx", "cx18", "cx23885", "pvrusb2", "mpc718",
- "af9015");
+ "af9015", "ngene");
# Check args
syntax() if (scalar(@ARGV) != 1);
@@ -549,6 +549,24 @@ sub af9015 {
close INFILE;
}
+sub ngene {
+ my $url = "http://www.digitaldevices.de/download/";
+ my $file1 = "ngene_15.fw";
+ my $hash1 = "d798d5a757121174f0dbc5f2833c0c85";
+ my $file2 = "ngene_17.fw";
+ my $hash2 = "26b687136e127b8ac24b81e0eeafc20b";
+
+ checkstandard();
+
+ wgetfile($file1, $url . $file1);
+ verify($file1, $hash1);
+
+ wgetfile($file2, $url . $file2);
+ verify($file2, $hash2);
+
+ "$file1, $file2";
+}
+
# ---------------------------------------------------------------
# Utilities
OpenPOWER on IntegriCloud