From owner-freebsd-hackers Mon Mar 8 18:47:14 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from xylan.com (postal.xylan.com [208.8.0.248]) by hub.freebsd.org (Postfix) with ESMTP id A30EE14D2D for ; Mon, 8 Mar 1999 18:47:12 -0800 (PST) (envelope-from wes@softweyr.com) Received: from mailhub.xylan.com by xylan.com (8.8.7/SMI-SVR4 (xylan-mgw 2.2 [OUT])) id SAA15429; Mon, 8 Mar 1999 18:45:41 -0800 (PST) Received: from utah.XYLAN.COM by mailhub.xylan.com (SMI-8.6/SMI-SVR4 (mailhub 2.1 [HUB])) id SAA04601; Mon, 8 Mar 1999 18:45:37 -0800 Received: from softweyr.com by utah.XYLAN.COM (SMI-8.6/SMI-SVR4 (xylan utah [SPOOL])) id TAA27563; Mon, 8 Mar 1999 19:45:25 -0700 Message-ID: <36E48B4F.BD62B07D@softweyr.com> Date: Mon, 08 Mar 1999 19:45:35 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.5 [en] (X11; U; FreeBSD 2.2.7-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Greg Lehey Cc: wayne@crb-web.com, FreeBSD Hackers Subject: Re: writing device drivers for fbsd References: <19990309094317.L490@lemis.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote: > > On Monday, 8 March 1999 at 13:57:38 -0500, Wayne Cuddy wrote: > > > > What is a good reference to learn to to write device drivers for > > fbsd? I remember someone recommended a good book a few months ago > > but I forgot to save the message. > > I don't think there is a good book. The ones I have seen have been > more "that's all there is" than "this is a great book". That's pretty much the state of affairs. I only a few, the Pajari book, the Egan & Texiera (?? this is from 10-year old memory), and the one by "J. E. Lapin" which was actually the staff at Rabbit Systems. They were all pretty much in the category of "there isn't a good choice." > > I saw "Writing Unix Device Drivers" by George Pajari, this weekend > > at the store,is this a good book? > > I don't know it. If you like the look of it, if it's not too old, and > if it describes the BSD driver structures, it's probably worth > having. Don't rely on any book by itself. I have a copy that is so old I used it to write a Minix driver, ca 1986. It's ancient, but will describe what UNIX device drivers do and how they do it. Along with several example drivers from the FreeBSD sources, it should be an adequate intoduction. IIRC, it doesn't cover network interface drivers at all. -- Where am I, and what am I doing in this handbasket? Wes Peters +1.801.915.2061 Softweyr LLC wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message