cvs commit: src/share/examples/drivers make_device_driver.sh

Peter Jeremy peterjeremy at optushome.com.au
Thu Aug 10 09:21:33 UTC 2006


On Thu, 2006-Aug-10 10:33:12 +0400, Yar Tikhiy wrote:
>...and if you manage to make the driver do some real job so that
>people start using it in production, it will have nearly zero chance
>to fall into oblivion; it will remain in a very good shape instead.

We already have have hundreds of drivers that meet this description.
The problem with having a real driver is that someone who wants to use
it as a skeleton has to first separate the "boilerplate" from the
functional parts.  OTOH, having a well-commented and working driver
can be very useful when trying to understand how to get from the
boilerplate to a real driver.

Addressing the latter point:  It would be useful if (eg) the README
file gave a few examples of drivers that made good examples for
basing other drivers on.  I know people have made various suggestions
in mailing lists over the years but I don't believe the answers have
been collected by anyone.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20060810/e6e3730d/attachment.pgp


More information about the cvs-src mailing list