*BSD News Article 37596


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!ix.netcom.com!netcom.com!jmonroy
From: jmonroy@netcom.com (Jesus Monroy Jr)
Subject: Re: How to write a driver...
Message-ID: <jmonroyCytpyp.427@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
X-Newsreader: TIN [version 1.2 PL1]
References: <1994Nov3.200755.3849@rhrk.uni-kl.de> <39ei1e$nqc@news.cc.utah.edu>
Date: Sun, 6 Nov 1994 02:08:49 GMT
Lines: 48

Terry Lambert (terry@cs.weber.edu) wrote:
: In article <1994Nov3.200755.3849@rhrk.uni-kl.de> weber@rhrk.uni-kl.de (Christoph Weber-Fahr [KIT]) writes:
: ] I was thinking about having a look at the interface for NIC drivers
: ] in FreeBSD and maybe doing some programming. Since I only have general 
: ] Unix programming Experience, can somebody suggest literure to get 
: ] started ? Or is reading the source code the only entry point to get 
: ] information on the driver interface in the OS ?

: My perpetual suggestion on this is Novell NetWare Server ODI drivers.
: They are 32 bit drivers.

: Never write another ethernet driver as long as you live unless you work
: for a card vender.  8-).
:
	Terry, 
		That's a real putz answer... not something I'd expect
	from you.

	---------------------------------------------------------

	As to the request for some literature. 
	My suggestions are:

	1. The "MS-DOS Advanced Programming" book by Ray Duncan.
		This book does not talk about UNIX, but it does
		provide valuable modeling information.

	2. "Writing a UNIX device driver" by Egan Teixeira
		Not a great book, but it is easy to find.

	3. The "Sun Microsystems Writing Device Drivers,
		Networking and Protocol Specificaitons"
		A standard reference.

	After that check the FAQ (Frequently Asked Question) list,
	it has some other good books.

	Lastly, my favorite "Reliable Software through Composite Design"
	by G.J. Myers.

	Of course, if you're realy serious, learn how to use 
	Make, SED, AWK and PERL.

-- 
Jesus Monroy Jr                                          jmonroy@netcom.com
Zebra Research
/386BSD/device-drivers /fd /qic /clock /documentation
___________________________________________________________________________