i have successfull implemented scull write with one quantum and now i am working on scull write with multiple quantum.
I was able to write a single qset successfully, now on to multiple qset…hope to finish that by Wednesday. Great help from Vaibhav …thanks bro.
i have done initialization,registration,open,release,trim.
i have successfully implemented scull trimming .
scull_triming and maping of scull_write has been done
please write appropriate comment……………… //this function only remove last node of the scull_dev because it has not any reverencing function for deleting previous nodes till the fist node. //sir has taken one previous pointer but it also deletes only one … Continue reading
i have completed registration, initialization, open, release, and working on trim.
I have done register, unregister the character driver successfully and also open & release the character driver successfully. In this i am facing the problem regarding to container_of().
local_scull_dev_ptr=container_of(pointer,container type,cdev); anyone plz tell me the internal functioning of the this macro… 1.what i mean to say is- how the control moves… 2.we directly take the third argument as ‘cdev’… but we know cdev resides in struct scull_dev so … Continue reading
i have successfully registered the multipal devices with a driver .if anybody want to take help for it by using for loop or by call a function …..most welcome.
i have completed my registration &unregistration of multiple devices with the use of a fun scull_setup_cdev…….
1.sir i have successfully register and unregister multiple devices ,,,,,,,,with simple using and with scull_setup function. 2.and also done open and release function.
Could any body try his guts to tell me the algorithm of character driver and the meaning of each function…………….like init,alloc,add etc. My knowledge base about char driver upto registration, of module in 2.6.x kernel