From owner-freebsd-questions Tue Jun 25 06:39:15 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA26336 for questions-outgoing; Tue, 25 Jun 1996 06:39:15 -0700 (PDT) Received: from rk.ios.com (rk.ios.com [198.4.75.55]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA26313 for ; Tue, 25 Jun 1996 06:39:11 -0700 (PDT) Received: (from rashid@localhost) by rk.ios.com (8.7.5/8.7.3) id JAA26336; Tue, 25 Jun 1996 09:37:04 -0400 (EDT) From: Rashid Karimov Message-Id: <199606251337.JAA26336@rk.ios.com> Subject: Re: Documentation for Device Drivers To: Mannan_Mohammed@ccm.ch.intel.com (Mannan Mohammed) Date: Tue, 25 Jun 1996 09:37:04 -0400 (EDT) Cc: questions@FreeBSD.org In-Reply-To: from "Mannan Mohammed" at Jun 19, 96 04:09:00 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > Hi, > > I need to write a device driver for a (PCI) network (ethernet) adapter > for FreeBSD. First of all, is there any documentation that will help > me get started. Is there any book that I can buy that covers device > drivers for FreeBSD (or UNIX). Secondly, is there any place I can > get sample source code for a device driver for FreeBSD. Pay a visit to local Barnes and Noble - they have a plenty of books on the topic. One of them is "Writing Device Drivers in C" by Philip. M Adams. There's also ( pretty rudimentary) book on writing the same things for SCO Unix ( vanilla SVR3). Intall the "sys" source code on your FreeBSD machine and take a dig - this could be best way to go ( FreeBSD comes with FULL source code which is also free :) > > Please send the reply to Mannan_Mohammed@ccm.ch.intel.com > > Thanks. > > Mannan. > PS: BTW, I just ordered the CD for FreeBSD. If the CD contains > any documentation, please let me know. See above :) - the source code will be there > > >