Robert Watson wrote:
> On Mon, 25 Nov 2002, Terry Lambert wrote:
> > Yury Tarasievich wrote:
> > > I need to port some driver from linux to freebsd and, somehow,
> > > I can't find documentation on kernel locks and mutexes.
> > > There are no man pages, links from handbook are broken, and search on
> > > freebsd site gives nothing (besides the handbook itself).
> > >
> > > Where can I find some docs?
> >
> > Kernel documentation is poor, because interfaces are not as fixed in
> > stone as you might expect them to be to encourage third party
> > developement and porting efforts like yours.
> 
> Funny, the SMPng primitives seem in general to be fairly well documented.
> See my previous e-mail to Yury with a list of man page references.  It's
> certainly true that the source is a good reference to look at existing
> locking strategies, but there certainly do appear to be man pages for the
> locking primitives.

I was thinking more in terms of device driver information.  All
of the "how to write a driver for newbus", "how to write a CAM
driver", "how to use devfs from the kernel", "what XXX to do in
FreeBSD, given YYY in Linux", "how to port a driver from Linux
to FreeBSD", etc., are missing.

While it's true that kernel locks and mutexes are documented for
SMPng, he posted to -hackers, not -current, and so he's probably
not interested in -current primitives that aren't available in
the 4.x -RELEASE and -STABLE branches.

His points about the handbook are salient, too.


-- Terry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to