summaryrefslogtreecommitdiff
path: root/linux/drivers/media/radio
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-09 12:11:21 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2009-03-09 12:11:21 +0100
commit74c1d5f410c25958fd587a05987e654bb9104d22 (patch)
tree724075f226855f552cf4ac5c6486c55f21bf8113 /linux/drivers/media/radio
parent8cf31fefb7f2a3a6c95c9f66fc63e00ec6b0bec0 (diff)
downloadmediapointer-dvb-s2-74c1d5f410c25958fd587a05987e654bb9104d22.tar.gz
mediapointer-dvb-s2-74c1d5f410c25958fd587a05987e654bb9104d22.tar.bz2
ISA radio drivers: improve kernel log message
From: Hans Verkuil <hverkuil@xs4all.nl> 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. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/radio')
-rw-r--r--linux/drivers/media/radio/radio-aimslab.c2
-rw-r--r--linux/drivers/media/radio/radio-aztech.c2
-rw-r--r--linux/drivers/media/radio/radio-cadet.c3
-rw-r--r--linux/drivers/media/radio/radio-terratec.c2
-rw-r--r--linux/drivers/media/radio/radio-trust.c2
-rw-r--r--linux/drivers/media/radio/radio-zoltrix.c2
6 files changed, 7 insertions, 6 deletions
diff --git a/linux/drivers/media/radio/radio-aimslab.c b/linux/drivers/media/radio/radio-aimslab.c
index 57b896968..7c3a81ad9 100644
--- a/linux/drivers/media/radio/radio-aimslab.c
+++ b/linux/drivers/media/radio/radio-aimslab.c
@@ -399,7 +399,7 @@ static int __init rtrack_init(void)
rt->io = io;
if (rt->io == -1) {
- v4l2_err(v4l2_dev, "you must set an I/O address with io=0x???\n");
+ v4l2_err(v4l2_dev, "you must set an I/O address with io=0x20f or 0x30f\n");
return -EINVAL;
}
diff --git a/linux/drivers/media/radio/radio-aztech.c b/linux/drivers/media/radio/radio-aztech.c
index dcf53edc2..8826b90a3 100644
--- a/linux/drivers/media/radio/radio-aztech.c
+++ b/linux/drivers/media/radio/radio-aztech.c
@@ -362,7 +362,7 @@ static int __init aztech_init(void)
az->io = io;
if (az->io == -1) {
- v4l2_err(v4l2_dev, "you must set an I/O address with io=0x???\n");
+ v4l2_err(v4l2_dev, "you must set an I/O address with io=0x350 or 0x358\n");
return -EINVAL;
}
diff --git a/linux/drivers/media/radio/radio-cadet.c b/linux/drivers/media/radio/radio-cadet.c
index 03e76bc74..373a34fde 100644
--- a/linux/drivers/media/radio/radio-cadet.c
+++ b/linux/drivers/media/radio/radio-cadet.c
@@ -686,7 +686,8 @@ static int __init cadet_init(void)
/* Else we bail out */
if (dev->io < 0) {
#ifdef MODULE
- v4l2_err(v4l2_dev, "you must set an I/O address with io=0x???\n");
+ v4l2_err(v4l2_dev, "you must set an I/O address with io=0x330, 0x332, 0x334,\n");
+ v4l2_err(v4l2_dev, "0x336, 0x338, 0x33a, 0x33c or 0x33e\n");
#endif
goto fail;
}
diff --git a/linux/drivers/media/radio/radio-terratec.c b/linux/drivers/media/radio/radio-terratec.c
index b63443076..9bb1773ca 100644
--- a/linux/drivers/media/radio/radio-terratec.c
+++ b/linux/drivers/media/radio/radio-terratec.c
@@ -376,7 +376,7 @@ static int __init terratec_init(void)
strlcpy(v4l2_dev->name, "terratec", sizeof(v4l2_dev->name));
tt->io = io;
if (tt->io == -1) {
- v4l2_err(v4l2_dev, "you must set an I/O address with io=0x???\n");
+ v4l2_err(v4l2_dev, "you must set an I/O address with io=0x590 or 0x591\n");
return -EINVAL;
}
if (!request_region(tt->io, 2, "terratec")) {
diff --git a/linux/drivers/media/radio/radio-trust.c b/linux/drivers/media/radio/radio-trust.c
index 196db11de..9d2dcb0a7 100644
--- a/linux/drivers/media/radio/radio-trust.c
+++ b/linux/drivers/media/radio/radio-trust.c
@@ -384,7 +384,7 @@ static int __init trust_init(void)
mutex_init(&tr->lock);
if (tr->io == -1) {
- v4l2_err(v4l2_dev, "You must set an I/O address with io=0x???\n");
+ v4l2_err(v4l2_dev, "You must set an I/O address with io=0x0x350 or 0x358\n");
return -EINVAL;
}
if (!request_region(tr->io, 2, "Trust FM Radio")) {
diff --git a/linux/drivers/media/radio/radio-zoltrix.c b/linux/drivers/media/radio/radio-zoltrix.c
index 93bc72adb..3662f68da 100644
--- a/linux/drivers/media/radio/radio-zoltrix.c
+++ b/linux/drivers/media/radio/radio-zoltrix.c
@@ -414,7 +414,7 @@ static int __init zoltrix_init(void)
strlcpy(v4l2_dev->name, "zoltrix", sizeof(v4l2_dev->name));
zol->io = io;
if (zol->io == -1) {
- v4l2_err(v4l2_dev, "You must set an I/O address with io=0x???\n");
+ v4l2_err(v4l2_dev, "You must set an I/O address with io=0x20c or 0x30c\n");
return -EINVAL;
}
if (zol->io != 0x20c && zol->io != 0x30c) {