From owner-freebsd-hackers Sun Dec 17 15:44:55 2000 From owner-freebsd-hackers@FreeBSD.ORG Sun Dec 17 15:44:53 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from smtp02.teb1.iconnet.net (smtp02.teb1.iconnet.net [209.3.218.43]) by hub.freebsd.org (Postfix) with ESMTP id 6C75437B400 for ; Sun, 17 Dec 2000 15:44:53 -0800 (PST) Received: from bellatlantic.net (client-151-198-135-104.nnj.dialup.bellatlantic.net [151.198.135.104]) by smtp02.teb1.iconnet.net (8.9.1/8.9.1) with ESMTP id SAA27744; Sun, 17 Dec 2000 18:44:41 -0500 (EST) Sender: root@smtp02.teb1.iconnet.net Message-ID: <3A3D4FE8.217AEF74@bellatlantic.net> Date: Sun, 17 Dec 2000 18:44:40 -0500 From: Sergey Babkin X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-19990626-CURRENT i386) X-Accept-Language: en, ru MIME-Version: 1.0 To: David Preece Cc: heckfordj@psi-domain.co.uk, freebsd-hackers@FreeBSD.ORG Subject: Re: Writing Device Drivers References: <5.0.0.25.1.20001218075649.01accb00@pop3.i4free.co.nz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Preece wrote: > > At 13:02 17/12/00 +0000, you wrote: > >Does anyone have any good tips to get started / HowTo's, or some simple > >examples > >that will give me knowledge like the PC Speaker or something simple like > >that? > > This is turning into a FAQ, but don't worry about it. The usual answer is > to take one of the existing drivers and work out what it does. There's also Look at the DaemonNews (www.daemonnews.org), the Blueprints column. If I remember the months correctly, in the July 2000 issues there is an introduction into FreeBSD device drivers by Alexander Langner, and in June and August issues there are my articles on CAM (SCSI) drivers and ISA device drivers respectively. There also were articles on the Netgraph networking subsystem and on writing drivers as modules. I believe that these articles have been turned into sections of the Handbook as well but I'm not sure where exectly in Handbook they are. -SB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message