Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Nov 2010 15:02:16 -0700
From:      Julian Elischer <julian@freebsd.org>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        mdf@freebsd.org, freebsd-current@freebsd.org, Andriy Gapon <avg@icyb.net.ua>
Subject:   Re: MTX_DEF versus MTX_SPIN
Message-ID:  <4CD1DBE8.7090200@freebsd.org>
In-Reply-To: <1467533946.56814.1288821369058.JavaMail.root@erie.cs.uoguelph.ca>
References:  <1467533946.56814.1288821369058.JavaMail.root@erie.cs.uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/3/10 2:56 PM, Rick Macklem wrote:
>>> Is there any documentation on best practices for writing a FreeBSD
>>> driver?
>> Not really. :-/
>>
> Just a dumb obvious suggestion. Imho, there is no better doc. than some
> well written code, so maybe someone familiar with the drivers can suggest
> one (or two) that they consider well written and use the current conventions
> as "examples"?

we try every now and then to put good examples in /usr/share/examples
but I think what's there is hopelessly out of date.

> rick, who never trusts documentation anyhow;-)
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CD1DBE8.7090200>