From owner-freebsd-drivers@FreeBSD.ORG Tue Apr 1 21:24:02 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A218106566C for ; Tue, 1 Apr 2008 21:24:02 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id 3B2888FC16 for ; Tue, 1 Apr 2008 21:24:02 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (t99i1mz2b3e7ez04@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id m31L8TqI012955; Tue, 1 Apr 2008 14:08:29 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id m31L8TPD012954; Tue, 1 Apr 2008 14:08:29 -0700 (PDT) (envelope-from jmg) Date: Tue, 1 Apr 2008 14:08:29 -0700 From: John-Mark Gurney To: Pegasus Mc cleaft Message-ID: <20080401210829.GL82555@funkthat.com> Mail-Followup-To: Pegasus Mc cleaft , freebsd-drivers@freebsd.org References: <200804011816.52919.ken@mthelicon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200804011816.52919.ken@mthelicon.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (hydrogen.funkthat.com [127.0.0.1]); Tue, 01 Apr 2008 14:08:30 -0700 (PDT) Cc: freebsd-drivers@freebsd.org Subject: Re: DDK X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 21:24:02 -0000 Pegasus Mc cleaft wrote this message on Tue, Apr 01, 2008 at 18:16 +0100: > I am interested in writing a device driver for a CANBus controller card. I am > famillier with driver writing on other platforms but have never attempted it > on FreeBSD (dispite using FreeBSD for about 14 years). Is there any good > refernce, or a DDK, or maybe even a book that describes the various kernel > interfaces I will need? (PCI configuration, getting call-backs from the OS, > etc) I have taken a look at the "Writing drivers" section of the handbook, > but found the information to be rather thin. > > Any help and direction would be greatly appreciated I did a presentation a couple years ago at BSDcan talking about some of the interfaces that the FreeBSD kernel provides: http://people.freebsd.org/~jmg/drivers/ The handout is a good quick reference. Good luck! -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."