Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 1997 23:49:55 -0700 (PDT)
From:      mdean <mdean@best.com>
To:        freebsd-hackers@freebsd.org
Subject:   Device Drivers
Message-ID:  <Pine.SGI.3.95.971006234141.3491A-100000@shellx.best.com>

next in thread | raw e-mail | index | archive | help


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.







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.3.95.971006234141.3491A-100000>