Module: xenomai-2.5 Branch: master Commit: 83c79e3d5f94fb66fdc432dd9054c86641481d8e URL: http://git.xenomai.org/?p=xenomai-2.5.git;a=commit;h=83c79e3d5f94fb66fdc432dd9054c86641481d8e
Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Sun May 16 23:57:19 2010 +0200 analogy: update comments on a4l_context (broken) --- include/analogy/context.h | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/include/analogy/context.h b/include/analogy/context.h index d30bbba..e0cf01c 100644 --- a/include/analogy/context.h +++ b/include/analogy/context.h @@ -29,15 +29,18 @@ struct a4l_device; struct a4l_buffer; struct a4l_device_context { - /* No need to hold user_info, thanks to container_of, we could - get it back */ + + /* Needed to call rtdm_*_copy_from/to_user functions */ rtdm_user_info_t *user_info; - struct a4l_device *dev; /* Which is retrieved thanks to minor - at open time */ + /* The adequate device pointer + (retrieved thanks to minor at open time) */ + struct a4l_device *dev; - struct buffer buffer; /* The buffer field is extracted from - the transfer structure */ + /* The buffer structure contains everything to transfer data + from asynchronous acquisition operations on a specific + subdevice */ + struct buffer buffer; }; #endif /* __KERNEL__ && !DOXYGEN_CPP */ _______________________________________________ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git