From owner-freebsd-questions Tue Jun 15 13:36: 7 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 5E18714F46; Tue, 15 Jun 1999 13:35:56 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id GAA23099; Wed, 16 Jun 1999 06:05:54 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id GAA10794; Wed, 16 Jun 1999 06:05:56 +0930 (CST) Date: Wed, 16 Jun 1999 06:05:55 +0930 From: Greg Lehey To: garret.white@nokia.com Cc: FreeBSD Hackers Subject: Device drivers (was: looking for a reference manual) Message-ID: <19990616060554.P521@freebie.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from garret.white@nokia.com on Tue, Jun 15, 1999 at 08:51:59PM +0300 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [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-questions" in the body of the message