summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/radio-cadet.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-09 12:11:21 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 17:43:13 +0200
commitb24c20cc5b3a4c6e2ec8d6145d2c1f9920cab3f4 (patch)
treecc16724750694242d53a08201f9c956b52dba1d8 /drivers/media/radio/radio-cadet.c
parentV4L/DVB (10893): radio-zoltrix: convert to v4l2_device. (diff)
downloadlinux-b24c20cc5b3a4c6e2ec8d6145d2c1f9920cab3f4.tar.xz
linux-b24c20cc5b3a4c6e2ec8d6145d2c1f9920cab3f4.zip
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/radio/radio-cadet.c')
-rw-r--r--drivers/media/radio/radio-cadet.c3
1 files changed, 2 insertions, 1 deletions
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)
/* 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;
}