From owner-freebsd-hackers Wed Nov 29 20:23:23 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA20979 for hackers-outgoing; Wed, 29 Nov 1995 20:23:23 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id UAA20961 for ; Wed, 29 Nov 1995 20:22:40 -0800 Received: (from julian@localhost) by ref.tfs.com (8.6.12/8.6.9) id UAA09781; Wed, 29 Nov 1995 20:20:38 -0800 From: Julian Elischer Message-Id: <199511300420.UAA09781@ref.tfs.com> Subject: Re: Wanted: Examples of ``good practice'' device drivers. To: witr@rwwa.com (Robert Withrow) Date: Wed, 29 Nov 1995 20:20:37 -0800 (PST) Cc: hackers@freebsd.org In-Reply-To: <199511300200.VAA26997@spooky.rwwa.com> from "Robert Withrow" at Nov 29, 95 09:00:15 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1441 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? Well if you hinted as to what you wanted these devices to do I could probably point you at good drivers... I'm in the middle of a driver cleanup at the moment, so the interfaces are a'changin as we speak. > > 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 > >