summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/bt8xx/dst.c
diff options
context:
space:
mode:
authorManu Abraham <devnull@localhost>2005-05-03 16:10:56 +0000
committerManu Abraham <devnull@localhost>2005-05-03 16:10:56 +0000
commitaa064abaf78aac02f71c8c02bc59800348432285 (patch)
tree8673d6e881b221f46148d52f2669b50b9f9a8bf6 /linux/drivers/media/dvb/bt8xx/dst.c
parent5523ba7a276b770ab17bc6b26250715fc0cf5a09 (diff)
downloadmediapointer-dvb-s2-aa064abaf78aac02f71c8c02bc59800348432285.tar.gz
mediapointer-dvb-s2-aa064abaf78aac02f71c8c02bc59800348432285.tar.bz2
removed unused module parameter session
removed unnecesary delay for FTA cards
Diffstat (limited to 'linux/drivers/media/dvb/bt8xx/dst.c')
-rw-r--r--linux/drivers/media/dvb/bt8xx/dst.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dst.c b/linux/drivers/media/dvb/bt8xx/dst.c
index fc74f4097..d047e349d 100644
--- a/linux/drivers/media/dvb/bt8xx/dst.c
+++ b/linux/drivers/media/dvb/bt8xx/dst.c
@@ -44,13 +44,7 @@ MODULE_PARM_DESC(debug, "debug messages, default is 0 (yes)");
static unsigned int dst_addons;
module_param(dst_addons, int, 0644);
-MODULE_PARM_DESC(dst_addons, "CA daughterboard, default is 0 (no)");
-
-static unsigned int new_fw;
-module_param(new_fw, int, 0644);
-MODULE_PARM_DESC(new_fw, "Support for the new interface firmware, default 0");
-
-
+MODULE_PARM_DESC(dst_addons, "CA daughterboard, default is 0 (No addons)");
#define dprintk if (debug) printk
@@ -787,7 +781,11 @@ static int dst_probe(struct dst_state *state)
dprintk("%s: RDC 8820 RESET Failed.\n", __FUNCTION__);
return -1;
}
- msleep(4000);
+ if (dst_addons & DST_TYPE_HAS_CA)
+ msleep(4000);
+ else
+ msleep(100);
+
if ((dst_comm_init(state)) < 0) {
dprintk("%s: DST Initialization Failed.\n", __FUNCTION__);
return -1;