EmbLogic's Blog

Character Driver (opening and closing with my routines)

RCS file: start.c,v
3 Working file: start.c
4 head: 1.1
5 branch:
6 locks: strict
7         root: 1.1
8 access list:
9 symbolic names:
10 keyword substitution: kv
11 total revisions: 1;     selected revisions: 1
12 description:
13 module param used
14 alloc_chardev_region done
15 kmalloc and memset done
16 node created
17 cdev_init and cdev_add done for 5 devices
18 —————————-
19 revision 1.1    locked by: root;
20 date: 2014/05/12 06:42:43;  author: root;  state: Exp;
21 Initial revision
=============================================================================
2 RCS file: my_open.c,v
3 Working file: my_open.c
4 head: 1.1
5 branch:
6 locks: strict
7         root: 1.1
8 access list:
9 symbolic names:
10 keyword substitution: kv
11 total revisions: 1;     selected revisions: 1
12 description:
13 container_of used
14 then address of sculldev stored in private data
15 wronly flag is checked
16 —————————-
17 revision 1.1    locked by: root;
18 date: 2014/05/12 06:48:42;  author: root;  state: Exp;
19 Initial revision
20 =============================================================================
2 RCS file: my_close.c,v
3 Working file: my_close.c
4 head: 1.1
5 branch:
6 locks: strict
7         root: 1.1
8 access list:
9 symbolic names:
10 keyword substitution: kv
11 total revisions: 1;     selected revisions: 1
12 description:
13 delared function of s_release
14 just checked if control comes to our routine
15 —————————-
16 revision 1.1    locked by: root;
17 date: 2014/05/12 06:51:24;  author: root;  state: Exp;
18 Initial revision
19 =============================================================================
2 RCS file: app.c,v
3 Working file: app.c
4 head: 1.1
5 branch:
6 locks: strict
7         root: 1.1
8 access list:
9 symbolic names:
10 keyword substitution: kv
11 total revisions: 1;     selected revisions: 1
12 description:
13 this is application written
14 open ,close is done succesfully
15 —————————-
16 revision 1.1    locked by: root;
17 date: 2014/05/12 06:54:06;  author: root;  state: Exp;
18 Initial revision
19 =============================================================================

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>