RCS file: header.h,v
Working file: header.h
head: 1.3
branch:
locks: strict
root: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
This include header files
Included init.h,module.h,fs.h
Gave MODULE_DESCRIPTION
—————————-
revision 1.3 locked by: root;
date: 2015/04/25 04:53:48; author: root; state: Exp; lines: +1 -0
Included cdev.h
—————————-
revision 1.2
date: 2015/04/25 04:34:10; author: root; state: Exp; lines: +1 -0
included slab.h
—————————-
revision 1.1
date: 2015/04/24 10:55:58; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: declaration.h,v
Working file: declaration.h
head: 1.4
branch:
locks: strict
root: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
This is declaration file.
—————————-
revision 1.4 locked by: root;
date: 2015/04/25 05:16:10; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.3
date: 2015/04/25 04:54:01; author: root; state: Exp; lines: +3 -1
Declared the device representation structure inside struct Dev
—————————-
revision 1.2
date: 2015/04/25 04:34:29; author: root; state: Exp; lines: +11 -0
included the structure for allocating memory for device.
—————————-
revision 1.1
date: 2015/04/24 11:38:23; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: init.c,v
Working file: init.c
head: 1.9
branch:
locks: strict
root: 1.9
access list:
symbolic names:
keyword substitution: kv
total revisions: 9; selected revisions: 9
description:
This is the initialisation file.
registered the device through alloc_chrdev_region()
Printing the major and minor no. through printk.
—————————-
revision 1.9 locked by: root;
date: 2015/04/25 05:16:13; author: root; state: Exp; lines: +2 -0
*** empty log message ***
—————————-
revision 1.8
date: 2015/04/25 05:13:50; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.7
date: 2015/04/25 05:13:03; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.6
date: 2015/04/25 04:57:05; author: root; state: Exp; lines: +11 -1
Initialised the device representation structure using cdev_init().
Added the device to device table using cdev_add()
—————————-
revision 1.5
date: 2015/04/25 04:37:52; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.4
date: 2015/04/25 04:35:51; author: root; state: Exp; lines: +8 -0
Allocated the memory to device using kmalloc()
Flusing the garbage using memset()
—————————-
revision 1.3
date: 2015/04/24 11:40:39; author: root; state: Exp; lines: +1 -0
printing the value of nod
—————————-
revision 1.2
date: 2015/04/24 11:19:56; author: root; state: Exp; lines: +2 -1
included module parameter module_param().
—————————-
revision 1.1
date: 2015/04/24 11:01:51; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: clean.c,v
Working file: clean.c
head: 1.4
branch:
locks: strict
root: 1.4
access list:
symbolic names:
keyword substitution: kv
total revisions: 4; selected revisions: 4
description:
This is the cleanup file .
Unregistering the device through unregister_chrdev_region().
—————————-
revision 1.4 locked by: root;
date: 2015/04/25 04:56:14; author: root; state: Exp; lines: +1 -0
Removing the device representation structure using cdev_del().
—————————-
revision 1.3
date: 2015/04/25 04:35:00; author: root; state: Exp; lines: +1 -0
Deallocated the memory for device using kfree().
—————————-
revision 1.2
date: 2015/04/24 11:44:57; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.1
date: 2015/04/24 11:03:39; author: root; state: Exp;
Initial revision
=============================================================================