On Sat, 24 Jul 2010, Daniel Baluta wrote:
> > anyone know of such an example? i briefly grep'ped thru drivers/
> > for the macro MISC_DYNAMIC_MINOR but every example i saw was, on
> > this system, configured to be built into the kernel.
>
> Why don't you recompile your kernel, and select <M> for your sample
> driver?
while that's a nice idea, because i'm trying to make this part of a
course, i want the first exercise to be *extremely* simple -- to
simply load something that's already there and ready to go. that
would be followed by the students then writing their own
miscdevice-based driver.
so, starting on the trivial end, i just wondered whether there was a
module that already fit the bill i could use as a test example, and i
don't immediately see one.
another miscdevice-based question coming shortly.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Top-notch, inexpensive online Linux/OSS/kernel courses
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================