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>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
ec632c8a10
commit
b24c20cc5b
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user