From owner-freebsd-questions Mon Mar 8 15:13:42 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 3E10814CC1; Mon, 8 Mar 1999 15:13:37 -0800 (PST) (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 JAA01522; Tue, 9 Mar 1999 09:43:18 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA18005; Tue, 9 Mar 1999 09:43:18 +1030 (CST) Message-ID: <19990309094317.L490@lemis.com> Date: Tue, 9 Mar 1999 09:43:17 +1030 From: Greg Lehey To: wayne@crb-web.com, FreeBSD Hackers Subject: Re: writing device drivers for fbsd References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Wayne Cuddy on Mon, Mar 08, 1999 at 01:57:38PM -0500 WWW-Home-Page: http://www.lemis.com/~grog 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 [following up to -hackers] 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". > 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. > Where would I look in the kernel source to find out that functions > the kernel exports for driver usage and driver interfaces? /usr/src/sys. Most driver sources are in /usr/src/sys/dev, but some are in places like /usr/src/sys/i386 and /usr/src/sys/pci. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html 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