[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1283727938.1758.12.camel@bencharluo-laptop>
Date: Mon, 06 Sep 2010 07:05:38 +0800
From: runcoderen <runcoderzhcn@...il.com>
To: linux-kernel@...r.kernel.org
Subject: ldd scull question about scull_device*
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
****************************************/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists