aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-09 07:11:21 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:13 -0400
commitb24c20cc5b3a4c6e2ec8d6145d2c1f9920cab3f4 (patch)
treecc16724750694242d53a08201f9c956b52dba1d8 /drivers/media
parentec632c8a1094e52d3da903ba057accad15f11d04 (diff)
V4L/DVB (10894): ISA radio drivers: improve kernel log message
It's much nicer if the log message tells you which io ports are possible, rather than having to run modinfo or look it up in the source or manual. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/radio/radio-aimslab.c2
-rw-r--r--drivers/media/radio/radio-aztech.c2
-rw-r--r--drivers/media/radio/radio-cadet.c3
-rw-r--r--drivers/media/radio/radio-terratec.c2
-rw-r--r--drivers/media/radio/radio-trust.c2
-rw-r--r--drivers/media/radio/radio-zoltrix.c2
6 files changed, 7 insertions, 6 deletions
diff --git a/drivers/media/radio/radio-aimslab.c b/drivers/media/radio/radio-aimslab.c
index ee204fdc4157..a99227f7a9da 100644
--- a/drivers/media/radio/radio-aimslab.c
+++ b/drivers/media/radio/radio-aimslab.c
@@ -398,7 +398,7 @@ static int __init rtrack_init(void)
398 rt->io = io; 398 rt->io = io;
399 399
400 if (rt->io == -1) { 400 if (rt->io == -1) {
401 v4l2_err(v4l2_dev, "you must set an I/O address with io=0x???\n"); 401 v4l2_err(v4l2_dev, "you must set an I/O address with io=0x20f or 0x30f\n");
402 return -EINVAL; 402 return -EINVAL;
403 } 403 }
404 404
diff --git a/drivers/media/radio/radio-aztech.c b/drivers/media/radio/radio-aztech.c
index 35f6f403f65d..186f3bae0ecc 100644
--- a/drivers/media/radio/radio-aztech.c
+++ b/drivers/media/radio/radio-aztech.c
@@ -361,7 +361,7 @@ static int __init aztech_init(void)
361 az->io = io; 361 az->io = io;
362 362
363 if (az->io == -1) { 363 if (az->io == -1) {
364 v4l2_err(v4l2_dev, "you must set an I/O address with io=0x???\n"); 364 v4l2_err(v4l2_dev, "you must set an I/O address with io=0x350 or 0x358\n");
365 return -EINVAL; 365 return -EINVAL;
366 } 366 }
367 367
diff --git a/drivers/media/radio/radio-cadet.c b/drivers/media/radio/radio-cadet.c
index 7741f33ce873..4627c5a662ee 100644
--- a/drivers/media/radio/radio-cadet.c
+++ b/drivers/media/radio/radio-cadet.c
@@ -659,7 +659,8 @@ static int __init cadet_init(void)
659 /* Else we bail out */ 659 /* Else we bail out */
660 if (dev->io < 0) { 660 if (dev->io < 0) {
661#ifdef MODULE 661#ifdef MODULE
662 v4l2_err(v4l2_dev, "you must set an I/O address with io=0x???\n"); 662 v4l2_err(v4l2_dev, "you must set an I/O address with io=0x330, 0x332, 0x334,\n");
663 v4l2_err(v4l2_dev, "0x336, 0x338, 0x33a, 0x33c or 0x33e\n");
663#endif 664#endif
664 goto fail; 665 goto fail;
665 } 666 }
diff --git a/drivers/media/radio/radio-terratec.c b/drivers/media/radio/radio-terratec.c
index 5a37e0d797bf..a6243f738a78 100644
--- a/drivers/media/radio/radio-terratec.c
+++ b/drivers/media/radio/radio-terratec.c
@@ -375,7 +375,7 @@ static int __init terratec_init(void)
375 strlcpy(v4l2_dev->name, "terratec", sizeof(v4l2_dev->name)); 375 strlcpy(v4l2_dev->name, "terratec", sizeof(v4l2_dev->name));
376 tt->io = io; 376 tt->io = io;
377 if (tt->io == -1) { 377 if (tt->io == -1) {
378 v4l2_err(v4l2_dev, "you must set an I/O address with io=0x???\n"); 378 v4l2_err(v4l2_dev, "you must set an I/O address with io=0x590 or 0x591\n");
379 return -EINVAL; 379 return -EINVAL;
380 } 380 }
381 if (!request_region(tt->io, 2, "terratec")) { 381 if (!request_region(tt->io, 2, "terratec")) {
diff --git a/drivers/media/radio/radio-trust.c b/drivers/media/radio/radio-trust.c
index fe964b45fdf5..4aa394940e12 100644
--- a/drivers/media/radio/radio-trust.c
+++ b/drivers/media/radio/radio-trust.c
@@ -383,7 +383,7 @@ static int __init trust_init(void)
383 mutex_init(&tr->lock); 383 mutex_init(&tr->lock);
384 384
385 if (tr->io == -1) { 385 if (tr->io == -1) {
386 v4l2_err(v4l2_dev, "You must set an I/O address with io=0x???\n"); 386 v4l2_err(v4l2_dev, "You must set an I/O address with io=0x0x350 or 0x358\n");
387 return -EINVAL; 387 return -EINVAL;
388 } 388 }
389 if (!request_region(tr->io, 2, "Trust FM Radio")) { 389 if (!request_region(tr->io, 2, "Trust FM Radio")) {
diff --git a/drivers/media/radio/radio-zoltrix.c b/drivers/media/radio/radio-zoltrix.c
index 18dbaf1650de..f0ea281ba51b 100644
--- a/drivers/media/radio/radio-zoltrix.c
+++ b/drivers/media/radio/radio-zoltrix.c
@@ -413,7 +413,7 @@ static int __init zoltrix_init(void)
413 strlcpy(v4l2_dev->name, "zoltrix", sizeof(v4l2_dev->name)); 413 strlcpy(v4l2_dev->name, "zoltrix", sizeof(v4l2_dev->name));
414 zol->io = io; 414 zol->io = io;
415 if (zol->io == -1) { 415 if (zol->io == -1) {
416 v4l2_err(v4l2_dev, "You must set an I/O address with io=0x???\n"); 416 v4l2_err(v4l2_dev, "You must set an I/O address with io=0x20c or 0x30c\n");
417 return -EINVAL; 417 return -EINVAL;
418 } 418 }
419 if (zol->io != 0x20c && zol->io != 0x30c) { 419 if (zol->io != 0x20c && zol->io != 0x30c) {