Device Drivers

[ Available lists | Index of freebsd-hackers | Month of Oct 1997 | Week of 6 Oct 1997 | Raw email | View thread | Wrap long lines | Reply ]
From
mdean <mdean@best.com>
Date
6 Oct 1997 23:51:36
Subject
Device Drivers
Message-ID
Pine.SGI.3.95.971006234141.3491A-100000@shellx.best.com

Referenced by

[ Hide this part ]
 

I *Have* been reading some of the code and was wondering if someone could
give me a brief explanation of what the following functions are for in
struct cdevsw (this info is not in conf.h and I am new to this)

d_stop
d_reset
d_devtotty
d_strategy (I've seen this one in another unix book, I just can't remeber
what it is actually used for)

and why does d_maj=-1 in the driver when I would think you need to set it
to the major of your device.






Elapsed time: 0.060 seconds