* ldd scull question about scull_device*
@ 2010-09-05 23:05 runcoderen
0 siblings, 0 replies; only message in thread
From: runcoderen @ 2010-09-05 23:05 UTC (permalink / raw)
To: linux-kernel
hi all:
when I am reading ldd(3rd) book about char device driver.
I have a question to ask:
I have seem the code in scull_init_module to create 4
scull_dev(scull_dev *).
but when I browse scull_write & scull_read function, I can see the code
only secure 1 scull_dev. and I don't know which scull_dev in scull_dev*
created before are I am using.
can anyone help me?
and why the author try to create 4 scull_device in scull_init_module?
runcoderen
--
/****************************************
http://runcoderen.wordpress.com
****************************************/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-05 23:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-05 23:05 ldd scull question about scull_device* runcoderen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®