From: Frank Mori Hess Date: Thu, 1 Mar 2001 18:33:21 +0000 (+0000) Subject: updated some comments X-Git-Tag: r0_7_57~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=03ce7e0566f88ed5b2c4849745791187f9e4d1ee;p=comedi.git updated some comments --- diff --git a/comedi/drivers/skel.c b/comedi/drivers/skel.c index 00e67019..60905587 100644 --- a/comedi/drivers/skel.c +++ b/comedi/drivers/skel.c @@ -104,9 +104,12 @@ comedi_driver driver_skel={ module: THIS_MODULE, attach: skel_attach, detach: skel_detach, +/* It is not necessary to implement the following members if you are + * writing a driver for a plug and play card. + */ // recognize: skel_recognize, register_boards: skel_register_boards, // replacement for recognize - /* comedi uses num_boards to allocate the board_name and board_id members + /* comedi uses num_names to allocate the board_name and board_id members * of this struct */ num_names: sizeof(skel_boards) / sizeof(skel_board), @@ -141,10 +144,10 @@ static int skel_recognize(char *name) * recognize a board name. The job of register_boards is to * initialize the board_name and board_id members of * the the comedi_driver_struct for this driver. The arrays - * will have already been allocated with num_boards elements - * (your driver must initialize the num_boards member of your - * comedi_driver struct) - * by comedi_driver_register() in the drivers.c file. + * will have already been allocated with num_names elements + * (your driver must initialize the num_names member of your + * comedi_driver struct) by comedi_driver_register() + * in the drivers.c file. */ static void skel_register_boards(void) {