From owner-freebsd-hackers Tue Jun 15 13:45: 1 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 3513414F56 for ; Tue, 15 Jun 1999 13:44:58 -0700 (PDT) (envelope-from julian@whistle.com) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with SMTP id NAA57058; Tue, 15 Jun 1999 13:44:44 -0700 (PDT) Date: Tue, 15 Jun 1999 13:44:43 -0700 (PDT) From: Julian Elischer To: Greg Lehey Cc: garret.white@nokia.com, FreeBSD Hackers Subject: Re: Device drivers (was: looking for a reference manual) In-Reply-To: <19990616060554.P521@freebie.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG you can also find samples in /usr/share/examples/drivers. These may be slightly broken in 4.x On Wed, 16 Jun 1999, Greg Lehey wrote: > [moved to -hackers; this is more appropriate there] > > On Tuesday, 15 June 1999 at 20:51:59 +0300, garret.white@nokia.com wrote: > > > > Hi All! > > > > I'm looking to write device drivers for FreeBSD. To this end, I'm searching > > for a Driver-Kernel interface reference manual for FreeBSD (ordinary BSD > > should do). (You know, a reference that documents all the low-level library > > calls and such.) I have one for SVR4 but I'm having trouble finding one for > > BSD. Anyone know of one? > > There's nothing that corresponds directly to the System V DDI/DKI > manual. Some (but unfortunately not all) kernel functions and > structures are described in section 9 of the manual. Look at intro(9) > for a start. There's also a tutorial at > http://www.freebsd.org/tutorials/ddwg/ddwg.html. But you'll find that > you'll have to read a lot of other driver code before you get your > driver finished. > > Greg > -- > See complete headers for address, home page and phone numbers > finger grog@lemis.com for PGP public key > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message