From owner-freebsd-hackers Wed Nov 29 17:55:00 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA12612 for hackers-outgoing; Wed, 29 Nov 1995 17:55:00 -0800 Received: from spooky.rwwa.com (rwwa.com [198.115.177.3]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA12607 for ; Wed, 29 Nov 1995 17:54:55 -0800 Received: from localhost (localhost [127.0.0.1]) by spooky.rwwa.com (8.6.11/8.6.9) with SMTP id VAA26997 for ; Wed, 29 Nov 1995 21:00:16 -0500 Message-Id: <199511300200.VAA26997@spooky.rwwa.com> X-Authentication-Warning: spooky.rwwa.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.5.3 12/28/94 To: hackers@FreeBSD.ORG Subject: Wanted: Examples of ``good practice'' device drivers. Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Wed, 29 Nov 1995 21:00:15 -0500 From: Robert Withrow Sender: owner-hackers@FreeBSD.ORG Precedence: bulk I've been writing device drivers and kernel code for the last 20 years or so, on lots of OS's including several versions of SYSV. I'm now faced with converting some SVR4 drivers I wrote a few years ago to FreeBSD, a version of OS I know essentially nothing about the internals of. So, while I don't need to learn *how* to write a ``unix device driver'', I do need to learn how to write a *FreeBSD* device driver. Since it seems like this is a mostly ``documentation free environment'' (;-), what are the *best* examples of ``good practice'' in FreeBSD isa bus drivers for devices that are neither if-like nor disk-like? Also, Is there anything more current than the (to my way of thinking) hoplessly out-of-date devil-book for documenting the nitty details of the various kernel interfaces, including the FreeBSD/kernel, FreeBSD/boot, FreeBSD/config, and FreeBSD/isa ones? Is there ever likely to be something like DDI/DDK for FreeBSD? ----------------------------------------------------------------------------- Robert Withrow, Tel: +1 617 598 4480, Fax: +1 617 598 4430 Net: witr@rwwa.COM R.W. Withrow Associates, 319 Lynnway Suite 201, Lynn MA 01901 USA