RCS file: lkm.c,v
Working file: lkm.c
head: 1.7
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 7; selected revisions: 7
description:
This is loadable kernel module.
—————————-
revision 1.7
date: 2013/07/03 06:54:15; author: root; state: Exp; lines: +2 -1
using function module_param.
—————————-
revision 1.6
date: 2013/07/03 06:42:07; author: root; state: Exp; lines: +8 -1
initialize values to struct i_cdev’s variables.
also initialize values to the variables declared in struct ScullDev.
—————————-
revision 1.5
date: 2013/07/02 11:30:00; author: root; state: Exp; lines: +12 -1
In function init : call functions cdev_init & cdev_add.
—————————-
revision 1.4
date: 2013/07/02 11:01:33; author: root; state: Exp; lines: +5 -2
In function init: using kmalloc function & flush the garbage using memset.
In function exit: free allocated memory using kfree.
—————————-
revision 1.3
date: 2013/07/02 10:04:08; author: root; state: Exp; lines: +30 -6
in init function: call register_chrdev_region.
also printed the values of majorno and minorno.
also call MKDEV function.
—————————-
revision 1.2
date: 2013/07/02 09:43:30; author: root; state: Exp; lines: +15 -3
call alloc function for registering the device.
in exit func: call unregister_chrdev_region function for unregistering the device.
—————————-
revision 1.1
date: 2013/07/02 07:35:12; author: root; state: Exp;
Initial revision
========================================================