EmbLogic's Blog

Character Driver

RCS file: car_dev.c,v
Working file: car_dev.c
head: 1.6
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 6;    selected revisions: 6
description:
registeration done using alloc_cardev_region.
unregistered using unregister_chardev_region.
—————————-
revision 1.6
date: 2013/07/03 05:39:57;  author: root;  state: Exp;  lines: +1 -0
added module_param().
—————————-
revision 1.5
date: 2013/07/03 05:15:28;  author: root;  state: Exp;  lines: +7 -2
given values to stuct sculldev and cdev.
—————————-
revision 1.4
date: 2013/07/01 22:51:08;  author: root;  state: Exp;  lines: +2 -0
intialize cdev using cdev_init.
added to the kernel using cdev_add.
—————————-
revision 1.3
date: 2013/07/01 22:13:39;  author: root;  state: Exp;  lines: +3 -0
added kmalloc & kfree.
used memset.
—————————-
revision 1.2
date: 2013/07/01 21:32:35;  author: root;  state: Exp;  lines: +21 -3
used register_chrdev_region.
printed the value of major & minor no.
—————————-
revision 1.1
date: 2013/07/01 19:43:38;  author: root;  state: Exp;
Initial revision
=============================================================================

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>