From owner-freebsd-hackers Thu Nov 30 08:04:55 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA26425 for hackers-outgoing; Thu, 30 Nov 1995 08:04:55 -0800 Received: from spot.lodgenet.com (lodgenet.iw.net [204.157.148.88]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA25949 for ; Thu, 30 Nov 1995 08:03:27 -0800 Received: from jake.lodgenet.com (jake.lodgenet.com [204.124.120.30]) by spot.lodgenet.com (8.6.12/8.6.12) with ESMTP id KAA06665; Thu, 30 Nov 1995 10:04:03 -0600 Received: from localhost (localhost [127.0.0.1]) by jake.lodgenet.com (8.6.12/8.6.12) with SMTP id KAA01227; Thu, 30 Nov 1995 10:22:01 -0600 Message-Id: <199511301622.KAA01227@jake.lodgenet.com> X-Authentication-Warning: jake.lodgenet.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.2 7/18/95 To: Robert Withrow cc: hackers@FreeBSD.org Subject: Re: Wanted: Examples of ``good practice'' device drivers. In-reply-to: Your message of "Wed, 29 Nov 1995 21:00:15 EST." <199511300200.VAA26997@spooky.rwwa.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 30 Nov 1995 10:22:00 -0600 From: "Eric L. Hernes" Sender: owner-hackers@FreeBSD.org Precedence: bulk Robert Withrow writes: >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. > I've started on a drivers writers guide. I'd say you've got quite a bit more experience than I though... My doc just covers bolting a driver into the kernel, and mentions the entry points. The doc is at http://www.freebsd.org/~erich/ddwg/ddwg.html, or I can mail a postscript version. As it sits now it is applicable to 2.0 2.0.5 and 2.1, but is about to become dated w.r.t -current ;( eric. -- erich@lodgenet.com erich@rrnet.com