summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r--linux/drivers/media/dvb/frontends/Kconfig11
-rw-r--r--linux/drivers/media/dvb/frontends/tda1004x.c6
2 files changed, 16 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/Kconfig b/linux/drivers/media/dvb/frontends/Kconfig
index 020ecf71b..c7ff718ad 100644
--- a/linux/drivers/media/dvb/frontends/Kconfig
+++ b/linux/drivers/media/dvb/frontends/Kconfig
@@ -124,3 +124,14 @@ config DVB_TDA1004X
If you don't know what tuner module is soldered on your
DVB adapter simply enable all supported frontends, the
right one will get autodetected.
+
+config DVB_TDA1004X_FIRMWARE_FILE
+ string "Full pathname of tda1004x.bin firmware file"
+ depends on DVB_TDA1004X
+ default "/etc/dvb/tda1004x.bin"
+ help
+ The TDA1004X requires additional firmware in order to function.
+ The firmware file can obtained as follows:
+ wget http://www.technotrend.de/new/215/TTweb_215a_budget_20_05_2003.zip
+ unzip -j TTweb_215a_budget_20_05_2003.zip Software/Oem/PCI/App/ttlcdacc.dll
+ mv ttlcdacc.dll /etc/dvb/tda1004x.bin
diff --git a/linux/drivers/media/dvb/frontends/tda1004x.c b/linux/drivers/media/dvb/frontends/tda1004x.c
index 0d030bc60..c60335abf 100644
--- a/linux/drivers/media/dvb/frontends/tda1004x.c
+++ b/linux/drivers/media/dvb/frontends/tda1004x.c
@@ -44,8 +44,12 @@
#include "dvb_frontend.h"
#include "dvb_functions.h"
+#ifndef CONFIG_TDA1004X_MC_LOCATION
+#define CONFIG_TDA1004X_MC_LOCATION "/usr/lib/DVB/driver/frontends/tda1004x.mc"
+#endif
+
static int tda1004x_debug = 0;
-static char *tda1004x_firmware = "/usr/lib/DVB/driver/frontends/tda1004x.mc";
+static char *tda1004x_firmware = CONFIG_TDA1004X_MC_LOCATION;
#define TDA10045H_ADDRESS 0x08