diff options
| -rwxr-xr-x | Documentation/dvb/get_dvb_firmware | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/Documentation/dvb/get_dvb_firmware b/Documentation/dvb/get_dvb_firmware index 94b01689808d..12d3952e83d5 100755 --- a/Documentation/dvb/get_dvb_firmware +++ b/Documentation/dvb/get_dvb_firmware | |||
| @@ -29,7 +29,7 @@ use IO::Handle; | |||
| 29 | "af9015", "ngene", "az6027", "lme2510_lg", "lme2510c_s7395", | 29 | "af9015", "ngene", "az6027", "lme2510_lg", "lme2510c_s7395", |
| 30 | "lme2510c_s7395_old", "drxk", "drxk_terratec_h5", | 30 | "lme2510c_s7395_old", "drxk", "drxk_terratec_h5", |
| 31 | "drxk_hauppauge_hvr930c", "tda10071", "it9135", "it9137", | 31 | "drxk_hauppauge_hvr930c", "tda10071", "it9135", "it9137", |
| 32 | "drxk_pctv", "drxk_terratec_htc_stick"); | 32 | "drxk_pctv", "drxk_terratec_htc_stick", "sms1xxx_hcw"); |
| 33 | 33 | ||
| 34 | # Check args | 34 | # Check args |
| 35 | syntax() if (scalar(@ARGV) != 1); | 35 | syntax() if (scalar(@ARGV) != 1); |
| @@ -766,6 +766,28 @@ sub drxk_pctv { | |||
| 766 | "$fwfile"; | 766 | "$fwfile"; |
| 767 | } | 767 | } |
| 768 | 768 | ||
| 769 | sub sms1xxx_hcw { | ||
| 770 | my $url = "http://steventoth.net/linux/sms1xxx/"; | ||
| 771 | my %files = ( | ||
| 772 | 'sms1xxx-hcw-55xxx-dvbt-01.fw' => "afb6f9fb9a71d64392e8564ef9577e5a", | ||
| 773 | 'sms1xxx-hcw-55xxx-dvbt-02.fw' => "b44807098ba26e52cbedeadc052ba58f", | ||
| 774 | 'sms1xxx-hcw-55xxx-isdbt-02.fw' => "dae934eeea85225acbd63ce6cfe1c9e4", | ||
| 775 | ); | ||
| 776 | |||
| 777 | checkstandard(); | ||
| 778 | |||
| 779 | my $allfiles; | ||
| 780 | foreach my $fwfile (keys %files) { | ||
| 781 | wgetfile($fwfile, "$url/$fwfile"); | ||
| 782 | verify($fwfile, $files{$fwfile}); | ||
| 783 | $allfiles .= " $fwfile"; | ||
| 784 | } | ||
| 785 | |||
| 786 | $allfiles =~ s/^\s//; | ||
| 787 | |||
| 788 | $allfiles; | ||
| 789 | } | ||
| 790 | |||
| 769 | # --------------------------------------------------------------- | 791 | # --------------------------------------------------------------- |
| 770 | # Utilities | 792 | # Utilities |
| 771 | 793 | ||
