From: runcoderen <runcoderzhcn@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: ldd scull question about scull_device*
Date: Mon, 06 Sep 2010 07:05:38 +0800 [thread overview]
Message-ID: <1283727938.1758.12.camel@bencharluo-laptop> (raw)
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
****************************************/
reply other threads:[~2010-09-05 23:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1283727938.1758.12.camel@bencharluo-laptop \
--to=runcoderzhcn@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®