From owner-cvs-src@FreeBSD.ORG Thu Aug 10 09:21:33 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D2AC16A4DD; Thu, 10 Aug 2006 09:21:33 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail29.syd.optusnet.com.au (mail29.syd.optusnet.com.au [211.29.132.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44FD143D64; Thu, 10 Aug 2006 09:21:19 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail29.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k7A9KnFd010808 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 10 Aug 2006 19:20:52 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k7A9KnCH008285; Thu, 10 Aug 2006 19:20:49 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k7A9KncQ008284; Thu, 10 Aug 2006 19:20:49 +1000 (EST) (envelope-from peter) Date: Thu, 10 Aug 2006 19:20:49 +1000 From: Peter Jeremy To: Yar Tikhiy Message-ID: <20060810092049.GB733@turion.vk2pj.dyndns.org> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline In-Reply-To: <20060810063312.GD93633@comp.chem.msu.su> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2006 09:21:33 -0000 --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--