X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/b34a548a5dfd2f0b068fd835a4cd51680d851068..c759ac4ffabb78a8863d9bced695980077eeb319:/lincan/src/finish.c diff --git a/lincan/src/finish.c b/lincan/src/finish.c index 922b4d3..752b177 100644 --- a/lincan/src/finish.c +++ b/lincan/src/finish.c @@ -1,3 +1,12 @@ +/* finish.c - finalization of the driver operation + * Linux CAN-bus device driver. + * Written by Arnaud Westenberg email:arnaud@wanadoo.nl + * Rewritten for new CAN queues by Pavel Pisa - OCERA team member + * email:pisa@cmp.felk.cvut.cz + * This software is released under the GPL-License. + * Version lincan-0.3 17 Jun 2004 + */ + #include "../include/can.h" #include "../include/can_sysdep.h" #include "../include/main.h" @@ -6,7 +15,10 @@ #include "../include/setup.h" - +/** + * msgobj_done - destroys one CAN message object + * @obj: pointer to CAN message object structure + */ void msgobj_done(struct msgobj_t *obj) { int delayed=0; @@ -44,6 +56,10 @@ void msgobj_done(struct msgobj_t *obj) } +/** + * canchip_done - destroys one CAN chip representation + * @chip: pointer to CAN chip structure + */ void canchip_done(struct chip_t *chip) { @@ -73,6 +89,10 @@ void canchip_done(struct chip_t *chip) } +/** + * candevice_done - destroys representation of one CAN device/board + * @candev: pointer to CAN device/board structure + */ void candevice_done(struct candevice_t *candev) { int i; @@ -93,6 +113,10 @@ void candevice_done(struct candevice_t *candev) candev->hwspecops=NULL; } +/** + * candevice_done - destroys representation of all CAN devices/boards + * @canhw: pointer to the root of all CAN hardware representation + */ void canhardware_done(struct canhardware_t *canhw) { int i;