summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/b2c2
diff options
context:
space:
mode:
authorKenneth Aafloy <devnull@localhost>2004-07-30 00:28:26 +0000
committerKenneth Aafloy <devnull@localhost>2004-07-30 00:28:26 +0000
commit93b2339c38d21f324ed5945efa4712385601341c (patch)
tree5187d5e73cf86581b3cf93311f04fe7237681101 /linux/drivers/media/dvb/b2c2
parent38ea67b839abf0e8f150106314bc4dff33312e18 (diff)
downloadmediapointer-dvb-s2-93b2339c38d21f324ed5945efa4712385601341c.tar.gz
mediapointer-dvb-s2-93b2339c38d21f324ed5945efa4712385601341c.tar.bz2
- More MODULE_PARM -> module_param changes, all should be corrected now.
- Remove unused av7110 DEBUG_VARIABLE.
Diffstat (limited to 'linux/drivers/media/dvb/b2c2')
-rw-r--r--linux/drivers/media/dvb/b2c2/skystar2.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/b2c2/skystar2.c b/linux/drivers/media/dvb/b2c2/skystar2.c
index 216e697ca..af5c296e1 100644
--- a/linux/drivers/media/dvb/b2c2/skystar2.c
+++ b/linux/drivers/media/dvb/b2c2/skystar2.c
@@ -53,10 +53,16 @@
#include "dvb_functions.h"
-static int debug = 0;
+static int debug;
+static int enable_hw_filters = 2;
+
+module_param(debug, int, 0644);
+MODULE_PARM_DESC(debug, "Set debugging level (0 = default, 1 = most messages, 2 = all messages).");
+module_param(enable_hw_filters, int, 0444);
+MODULE_PARM_DESC(enable_hw_filters, "enable hardware filters: supported values: 0 (none), 1, 2");
+
#define dprintk(x...) do { if (debug>=1) printk(x); } while (0)
#define ddprintk(x...) do { if (debug>=2) printk(x); } while (0)
-static int enable_hw_filters = 2;
#define SIZE_OF_BUF_DMA1 0x3ac00
#define SIZE_OF_BUF_DMA2 0x758
@@ -2448,10 +2454,5 @@ static void skystar2_cleanup(void)
module_init(skystar2_init);
module_exit(skystar2_cleanup);
-MODULE_PARM(debug, "i");
-MODULE_PARM_DESC(debug, "enable verbose debug messages: supported values: 1 and 2");
-MODULE_PARM(enable_hw_filters, "i");
-MODULE_PARM_DESC(enable_hw_filters, "enable hardware filters: supported values: 0 (none), 1, 2");
-
MODULE_DESCRIPTION("Technisat SkyStar2 DVB PCI Driver");
MODULE_LICENSE("GPL");