Module: xenomai-abe Branch: experimental Commit: a25a03ac28a3e6e484590debe1ce2c57f4b49218 URL: http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=a25a03ac28a3e6e484590debe1ce2c57f4b49218
Author: Alexis Berlemont <[email protected]> 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 [email protected] https://mail.gna.org/listinfo/xenomai-git
