RCS FILE OF THE HEADER.H OF THE CHARACTER DRIVER
RCS file: header.h,v
Working file: header.h
head: 1.10
branch:
locks: strict
root: 1.10
access list:
symbolic names:
keyword substitution: kv
total revisions: 10; selected revisions: 10
description:
This is the header file.
Included init.h.
Included module.h.
using macro MODULE_LISCENCE.
—————————-
revision 1.10 locked by: root;
date: 2014/10/08 18:25:34; author: root; state: Exp; lines: +1 -0
included asm/uaccess.h.
—————————-
revision 1.9
date: 2014/10/08 07:04:32; author: root; state: Exp; lines: +1 -1
included kernel.h.
—————————-
revision 1.8
date: 2014/10/08 05:30:18; author: root; state: Exp; lines: +4 -0
declared macros QSETSIZE and QUANTSIZE.
declared members qset_size and quant_size in the structure ScullDev.
—————————-
revision 1.7
date: 2014/09/26 08:45:24; author: root; state: Exp; lines: +1 -1
included kernel.h.
—————————-
revision 1.6
date: 2014/09/26 08:15:43; author: root; state: Exp; lines: +1 -0
Included kernel.h.
—————————-
revision 1.5
date: 2014/09/26 07:36:49; author: root; state: Exp; lines: +11 -0
Included slab.h.
Defined struct ScullQset.
Defined struct ScullQset.
—————————-
revision 1.4
date: 2014/09/26 07:15:22; author: root; state: Exp; lines: +1 -0
Included moduleparam.h.
—————————-
revision 1.3
date: 2014/09/26 07:01:34; author: root; state: Exp; lines: +3 -0
declared macro MAJORNO, MINORNO, NOD.
—————————-
revision 1.2
date: 2014/09/26 06:29:23; author: root; state: Exp; lines: +3 -0
Included fs.h.
Included cdev.h.
—————————-
revision 1.1
date: 2014/09/26 06:06:05; author: root; state: Exp;
Initial revision
=============================================================================
RCS FILE OF THE DECLERATIONS.H OF THE CHARACTER DRIVER
RCS file: declare.h,v
Working file: declare.h
head: 1.8
branch:
locks: strict
root: 1.8
access list:
symbolic names:
keyword substitution: kv
total revisions: 8; selected revisions: 8
description:
This is the declerations file.
Declared extern int dev_t dev.
declared extern int nod.
—————————-
revision 1.8 locked by: root;
date: 2014/10/08 17:35:06; author: root; state: Exp; lines: +1 -1
minor bug.
—————————-
revision 1.7
date: 2014/10/08 05:31:28; author: root; state: Exp; lines: +2 -0
declared extern int qset_size and extern int quant_size.
given prototype of dev_release().
—————————-
revision 1.6
date: 2014/10/08 05:10:19; author: root; state: Exp; lines: +1 -0
minor bug.
—————————-
revision 1.5
date: 2014/10/08 04:59:11; author: root; state: Exp; lines: +1 -0
given prototype of dev_write() routine.
—————————-
revision 1.4
date: 2014/09/26 08:16:27; author: root; state: Exp; lines: +1 -0
given the prototype of the function dev_open().
—————————-
revision 1.3
date: 2014/09/26 07:37:37; author: root; state: Exp; lines: +1 -1
Declared Struct SCullDev *sculldev.
—————————-
revision 1.2
date: 2014/09/26 07:02:49; author: root; state: Exp; lines: +4 -0
declared extern int majorno, extern int minorno.
declared extern struct file_operations fops.
declared extern struct cdev mycdev.
—————————-
revision 1.1
date: 2014/09/26 06:46:55; author: root; state: Exp;
Initial revision
=============================================================================
RCS FILE OF INIT.H OF THE CHARACTER DRIVER
RCS file: init.c,v
Working file: init.c
head: 1.10
branch:
locks: strict
root: 1.10
access list:
symbolic names:
keyword substitution: kv
total revisions: 10; selected revisions: 10
description:
This is the initialization routine.
using macro module_init.
—————————-
revision 1.10 locked by: root;
date: 2014/10/08 05:32:09; author: root; state: Exp; lines: +4 -0
assigned value to qset_size and quant_size.
—————————-
revision 1.9
date: 2014/09/26 08:46:00; author: root; state: Exp; lines: +1 -0
Setting the initial value of scullqset member of sculldev to null.
—————————-
revision 1.8
date: 2014/09/26 08:16:46; author: root; state: Exp; lines: +1 -1
Included user defined header file file_init.h.
—————————-
revision 1.7
date: 2014/09/26 07:41:53; author: root; state: Exp; lines: +15 -0
debugging messages added.
—————————-
revision 1.6
date: 2014/09/26 07:38:01; author: root; state: Exp; lines: +7 -6
allocated memory to the sculldev using kmallo
kmalloc*
—————————-
revision 1.5
date: 2014/09/26 07:15:37; author: root; state: Exp; lines: +15 -8
adding multiple devices.
accepting number of devises from module parameters.
printing all major and minor numbers.
—————————-
revision 1.4
date: 2014/09/26 07:02:01; author: root; state: Exp; lines: +16 -2
initialising a device using cdev_init().
Adding the device using cdev_add().
—————————-
revision 1.3
date: 2014/09/26 06:33:02; author: root; state: Exp; lines: +1 -1
checking the return value of alloc_chrdev_region.
—————————-
revision 1.2
date: 2014/09/26 06:29:40; author: root; state: Exp; lines: +19 -0
Registering the driver using alloc_chrdev_region().
printing the major number allocated.
—————————-
revision 1.1
date: 2014/09/26 06:06:05; author: root; state: Exp;
Initial revision
=============================================================================
RCS FILE OF OPEN ROUTICE OF CHAR DRIVER
RCS file: dev_open.c,v
Working file: dev_open.c
head: 1.5
branch:
locks: strict
root: 1.5
access list:
symbolic names:
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
This is the open routine of our device.
—————————-
revision 1.5 locked by: root;
date: 2014/09/26 08:50:16; author: root; state: Exp; lines: +7 -2
debugging.
—————————-
revision 1.4
date: 2014/09/26 08:49:01; author: root; state: Exp; lines: +6 -0
debugging messages.
—————————-
revision 1.3
date: 2014/09/26 08:46:31; author: root; state: Exp; lines: +23 -1
Implementing dev_trim().
—————————-
revision 1.2
date: 2014/09/26 08:29:40; author: root; state: Exp; lines: +18 -0
using container_of function to put data into struct inode.
—————————-
revision 1.1
date: 2014/09/26 08:17:25; author: root; state: Exp;
Initial revision
=============================================================================
RCS IFLE OF WRITE ROUTINE OF CHAR DRIVER
RCS file: dev_write.c,v
Working file: dev_write.c
head: 1.11
branch:
locks: strict
root: 1.11
access list:
symbolic names:
keyword substitution: kv
total revisions: 11; selected revisions: 11
description:
this is write routine of this driver.
—————————-
revision 1.11 locked by: root;
date: 2014/10/08 18:26:11; author: root; state: Exp; lines: +31 -7
writing into sculldev from user buffer using macro copy_from_user.
—————————-
revision 1.10
date: 2014/10/08 17:54:16; author: root; state: Exp; lines: +30 -3
implemented create_quant.
—————————-
revision 1.9
date: 2014/10/08 17:35:16; author: root; state: Exp; lines: +2 -1
implementing create_qset.
—————————-
revision 1.8
date: 2014/10/08 17:28:39; author: root; state: Exp; lines: +20 -0
implementing create_qset.
—————————-
revision 1.7
date: 2014/10/08 07:05:57; author: root; state: Exp; lines: +68 -17
allocated scullqsets successfully.
given prototype of create_qset.
implementing create_qset.
qsets allocated successfully.
—————————-
revision 1.6
date: 2014/10/08 05:40:37; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.5
date: 2014/10/08 05:39:24; author: root; state: Exp; lines: +1 -1
debugging messages.
—————————-
revision 1.4
date: 2014/10/08 05:37:26; author: root; state: Exp; lines: +3 -3
minor error (% instead of /).
—————————-
revision 1.3
date: 2014/10/08 05:33:06; author: root; state: Exp; lines: +22 -1
given prototype of create_scullqset().
implementing create_scullqset(().
calculating number of scullqset in function create_scullqset().
—————————-
revision 1.2
date: 2014/10/08 05:16:39; author: root; state: Exp; lines: +10 -1
fetching data fropn file->private data into a local ScullDev variable.
—————————-
revision 1.1
date: 2014/10/08 05:04:21; author: root; state: Exp;
Initial revision
=============================================================================