]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: report success/failure of autoconfig
authorBernd Porr <mail@berndporr.me.uk>
Tue, 7 Jan 2014 21:42:25 +0000 (21:42 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 18:51:54 +0000 (10:51 -0800)
commit34ce94e9830c9d818ab659e8055b986910c40317
tree3ca997146ba6b18d305181986bf02eb075fb6d6f
parent092e4e13447358afe2ecfd63d4e80e613993b014
staging: comedi: report success/failure of autoconfig

Added success message to the driver autoconfig and error
message in case it fails. A success message is required
so that the user can find out which comedi driver has been
associated with which udev device. This also makes troubleshooting
much easier when more than one card is in the computer or
there is a mix of USB and PCI devices.
As Ian suggested we should report both the driver and the board
which might have different names, especially if one driver covers a
range of different boards.

Signed-off-by: Bernd Porr <mail@berndporr.me.uk>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers.c