aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-driver.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-07-10 16:47:07 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 13:24:48 -0400
commitbd58df6d522d5a9c791f6a4820e480e9be60650d (patch)
tree582569bf9794f4c8958b328f744ddadfd8b409c2 /drivers/media/video/ivtv/ivtv-driver.c
parent90851fe9fad68db24da8cb497bad7327b97ed3d2 (diff)
V4L/DVB (5844): ivtv: add high volume debugging flag
Add support for high volume debug messages, allowing them to be turned on selectively. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-driver.c')
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c
index ab7c3f6d3531..4c93466a89e5 100644
--- a/drivers/media/video/ivtv/ivtv-driver.c
+++ b/drivers/media/video/ivtv/ivtv-driver.c
@@ -181,7 +181,7 @@ MODULE_PARM_DESC(secam, "Set SECAM standard: B, G, H, D, K, L, LC");
181MODULE_PARM_DESC(ntsc, "Set NTSC standard: M, J, K"); 181MODULE_PARM_DESC(ntsc, "Set NTSC standard: M, J, K");
182MODULE_PARM_DESC(debug, 182MODULE_PARM_DESC(debug,
183 "Debug level (bitmask). Default: errors only\n" 183 "Debug level (bitmask). Default: errors only\n"
184 "\t\t\t(debug = 511 gives full debugging)"); 184 "\t\t\t(debug = 1023 gives full debugging)");
185MODULE_PARM_DESC(ivtv_pci_latency, 185MODULE_PARM_DESC(ivtv_pci_latency,
186 "Change the PCI latency to 64 if lower: 0 = No, 1 = Yes,\n" 186 "Change the PCI latency to 64 if lower: 0 = No, 1 = Yes,\n"
187 "\t\t\tDefault: Yes"); 187 "\t\t\tDefault: Yes");
@@ -1325,9 +1325,9 @@ static int module_start(void)
1325 return -1; 1325 return -1;
1326 } 1326 }
1327 1327
1328 if (ivtv_debug < 0 || ivtv_debug > 511) { 1328 if (ivtv_debug < 0 || ivtv_debug > 1023) {
1329 ivtv_debug = 0; 1329 ivtv_debug = 0;
1330 printk(KERN_INFO "ivtv: debug value must be >= 0 and <= 511!\n"); 1330 printk(KERN_INFO "ivtv: debug value must be >= 0 and <= 1023!\n");
1331 } 1331 }
1332 1332
1333 if (pci_register_driver(&ivtv_pci_driver)) { 1333 if (pci_register_driver(&ivtv_pci_driver)) {