EmbLogic's Blog

CHARACTER Driver :entered data in multiple scullqsets ,qsets and quantums

RCS file: write.c,v
Working file: write.c
head: 1.81
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 81; selected revisions: 81
description:
this is the file for user write like operation
—————————-
revision 1.81
date: 2014/05/16 12:53:09; author: root; state: Exp; lines: +1 -1
successful working for multiple quantum,multiple QSETS and scullqsets
—————————-
revision 1.80
date: 2014/05/16 08:37:31; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.79
date: 2014/05/16 08:35:54; author: root; state: Exp; lines: +2 -2
testing
—————————-

revision 1.74
date: 2014/05/16 08:19:49; author: root; state: Exp; lines: +2 -2
testing
—————————-
revision 1.73
date: 2014/05/16 08:11:42; author: root; state: Exp; lines: +4 -0
error resolved as no. of quantum are multiple of 8 so it will not come out of the loop
untill 8 quantum complete evn if the noctw next
—————————-

revision 1.60
date: 2014/05/16 05:45:12; author: root; state: Exp; lines: +14 -15
2 scullqset
—————————-
revision 1.59
date: 2014/05/15 18:17:54; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.58
date: 2014/05/15 18:16:35; author: root; state: Exp; lines: +13 -8
multiple scullqset and 2 scullqset
—————————-
revision 1.57
date: 2014/05/15 17:43:02; author: root; state: Exp; lines: +1 -1
print ret value
—————————-
revision 1.56
date: 2014/05/15 10:33:38; author: root; state: Exp; lines: +1 -1
return nocsw from the write function
—————————-
revision 1.55
date: 2014/05/15 10:30:42; author: root; state: Exp; lines: +3 -0
printk the nocsw and noctw
—————————-

revision 1.48
date: 2014/05/15 09:35:00; author: root; state: Exp; lines: +29 -20
enterring no. of quantum in respective qsets
—————————-
revision 1.47
date: 2014/05/13 18:08:24; author: root; state: Exp; lines: +8 -8
*** empty log message ***
—————————-
revision 1.46
date: 2014/05/13 17:33:27; author: root; state: Exp; lines: +1 -1
testing
—————————-
revision 1.45
date: 2014/05/13 17:31:42; author: root; state: Exp; lines: +6 -4
calculation on copy on user
—————————-
revision 1.44
date: 2014/05/13 16:54:48; author: root; state: Exp; lines: +13 -13
corrected copyfromuser
—————————-
revision 1.43
date: 2014/05/13 15:38:39; author: root; state: Exp; lines: +4 -3
*** empty log message ***
—————————-
revision 1.42
date: 2014/05/13 14:43:34; author: root; state: Exp; lines: +2 -2
testing
—————————-
revision 1.41
date: 2014/05/13 14:38:24; author: root; state: Exp; lines: +3 -1
included memset in both the kmalloc used in function
————————–
—————————-
revision 1.29
date: 2014/05/13 09:06:22; author: root; state: Exp; lines: +3 -3
lsize typecast to size
—————————-
revision 1.28
date: 2014/05/13 09:04:28; author: root; state: Exp; lines: +2 -2
type cast the size from the write function
—————————-
revision 1.27
date: 2014/05/13 08:46:18; author: root; state: Exp; lines: +5 -1
use of copy_from

user….copy_from_user(to,from,sizeofbuffer) :
to=lsculldev->data
from =buffer
—————————-
revision 1.26
date: 2014/05/12 10:34:04; author: root; state: Exp; lines: +1 -1
*** empty log message ***
—————————-
revision 1.25
date: 2014/05/12 10:33:06; author: root; state: Exp; lines: +3 -2
included void *p
—————————-
revision 1.24
date: 2014/05/12 10:25:26; author: root; state: Exp; lines: +4 -4
added allocate_quantum
—————————-
revision 1.23
date: 2014/05/12 10:04:53; author: root; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.22
date: 2014/05/12 09:56:55; author: root; state: Exp; lines: +7 -7
write allocate_scullqset
—————————-
revision 1.21

revision 1.18
date: 2014/05/12 08:48:04; author: root; state: Exp; lines: +2 -2
remove OUT :
—————————-
revision 1.17
date: 2014/05/12 08:46:33; author: root; state: Exp; lines: +6 -6
chages in create_skull change lsculldev to lscullqset
—————————-
revision 1.16
date: 2014/05/12 08:41:50; author: root; state: Exp; lines: +1 -0
prototype of crete_skull not there
—————————-
revision 1.15
date: 2014/05/12 08:36:44; author: root; state: Exp; lines: +160 -1
in this file i have wrote the scull
first calculate noqset and makwe the required no. of qset and then the quantum in those queset
use 30 bytes of data as a reference to send it to the DD
—————————-

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>