RCS file: decleration.h,v
Working file: decleration.h
head: 1.1
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
In Decleration Defined Device Name,MajorNO,MinorNO,No of Devices,Device ID and Device Number
----------------------------
revision 1.1
date: 2019/05/03 20:17:25; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: file_oper.h,v
Working file: file_oper.h
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
we decleared struct file_operations fops.
for file operation like open,close,rea,write etc...
----------------------------
revision 1.1 locked by: root;
date: 2019/05/03 20:21:10; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: headers.h,v
Working file: headers.h
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
In headers decleared linux/init.h,linux/module.h,linux/moduleparam.h
Linux/init.h:-this is a macro we used this for initializing our device driver.
linux/module.h:-in this headers,information about module structure.
Linux/moduleparam.h :- for module param.
----------------------------
revision 1.1 locked by: root;
date: 2019/05/03 20:23:38; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: exit.c,v
Working file: exit.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
module_exit:-this is macro.
this macro is used for the exit the module
in exit we used cleanUp function for unregister the device driver.
----------------------------
revision 1.1 locked by: root;
date: 2019/05/03 20:36:40; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: init.c,v
Working file: init.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
module_init:-it is macro,this is the entring point for the device driver.
device driver code is always start with this macro.
in init we used init function,this is the initialization function.
use for the registring the device driver and initializing the device.
we uses MAJORNO and MINORNO both are macro...this is for major number and minor number.
----------------------------
revision 1.1 locked by: root;
date: 2019/05/03 20:41:02; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: llseekDev.c,v
Working file: llseekDev.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
in this function just begin and end.
----------------------------
revision 1.1 locked by: root;
date: 2019/05/03 20:49:07; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: openDev.c,v
Working file: openDev.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
just begin and end.
----------------------------
revision 1.1 locked by: root;
date: 2019/05/03 20:49:50; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: readDev.c,v
Working file: readDev.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
just begin and end
----------------------------
revision 1.1 locked by: root;
date: 2019/05/03 20:50:11; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: releaseDev.c,v
Working file: releaseDev.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
nothing happend just begining and ending.
----------------------------
revision 1.1 locked by: root;
date: 2019/05/03 20:50:25; author: root; state: Exp;
Initial revision
=============================================================================
RCS file: writeDev.c,v
Working file: writeDev.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
func begin amd end
----------------------------
revision 1.1 locked by: root;
date: 2019/05/03 20:51:01; author: root; state: Exp;
Initial revision
=============================================================================
It looks like you're new here. If you want to get involved, click one of these buttons!