From owner-freebsd-questions Tue Jun 25 14:44:53 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA24952 for questions-outgoing; Tue, 25 Jun 1996 14:44:53 -0700 (PDT) Received: from sonia.adweb.com (j7.brf9.jaring.my [161.142.2.149]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id OAA24928 for ; Tue, 25 Jun 1996 14:44:47 -0700 (PDT) Received: (from adrchew@localhost) by sonia.adweb.com (8.6.12/8.6.12) id FAA00469; Wed, 26 Jun 1996 05:20:06 +0800 Date: Wed, 26 Jun 1996 05:20:06 +0800 Message-ID: X-Mailer: XFMail 0.3-beta [p0] on FreeBSD In-Reply-To: <199606251337.JAA26336@rk.ios.com> Reply-To: adrchew@relay4.jaring.my Organization: Alternate Dimensions From: Adrian Chew To: Rashid Karimov Subject: Re: Documentation for Device Drivers Cc: , Mannan Mohammed Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue Jun 25 01:37:04 1996 Rashid Karimov wrote: >>> >> 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 >> >> >> > >