Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2006 19:20:49 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Yar Tikhiy <yar@comp.chem.msu.su>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/share/examples/drivers make_device_driver.sh
Message-ID:  <20060810092049.GB733@turion.vk2pj.dyndns.org>
In-Reply-To: <20060810063312.GD93633@comp.chem.msu.su>
References:  <200608061106.k76B6ahO042778@repoman.freebsd.org> <44D5F2C1.7080606@inse.ru> <20060808124221.GO54416@comp.chem.msu.su> <20060808142616.S45647@fledge.watson.org> <44D89ED3.3000805@inse.ru> <20060808152429.W45647@fledge.watson.org> <44DA5C5A.70404@inse.ru> <20060810063312.GD93633@comp.chem.msu.su>

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

--DKU6Jbt7q3WqK7+M
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

--=20
Peter Jeremy

--DKU6Jbt7q3WqK7+M
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFE2vpx/opHv/APuIcRAnCAAJ95RblqYC4n59MMYnTEwYWzhO3mEACgnOX/
CIOvzbhAxZNDnelgh2h4qVA=
=73fg
-----END PGP SIGNATURE-----

--DKU6Jbt7q3WqK7+M--



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