From owner-freebsd-hackers Mon May 22 7:20:46 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from facmail.cc.gettysburg.edu (facmail.gettysburg.edu [138.234.4.150]) by hub.freebsd.org (Postfix) with ESMTP id 731BD37B5DF for ; Mon, 22 May 2000 07:20:40 -0700 (PDT) (envelope-from s467338@gettysburg.edu) Received: from jupiter2 (jupiter2 [138.234.4.6]) by facmail.cc.gettysburg.edu (8.9.3/8.9.3) with SMTP id KAA19028; Mon, 22 May 2000 10:20:16 -0400 (EDT) Date: Mon, 22 May 2000 10:20:13 -0400 (EDT) From: Andrew Reiter X-Sender: s467338@jupiter2 To: "G.B.Naidu" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Device driver requirement... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Quick note... in my tutorial on writing KLD's, it will include a section on an example character device skeleton. 3 of 5 sections are complete in this tutorial... so I suspect that son I will release it publically. Andrew On Mon, 22 May 2000, G.B.Naidu wrote: | |Hi, | |I would like to know about the device drivre development. I know the basic |concepts behind a device driver. But haven't written a driver my self. But |now time has come for me to do that. | |I need to develop a device driver for a ethernet switch/hub. So I would |like to have some clarifications: | |1. How much effort it takes for a real device driver to be written? |Please provide a realistic estimate. I guess somebody might have written |some commercial device drivres. | |2. What all information do I need to design a device driver? I have the |data sheets of the product available from the net. Anything else I need? | |3. How do I decide whether a driver has to be block device or character |device? | |4. I went through the two documents posted on the list about newbus. Is it |mandatory that one has to use newbus architecture from FreeBSD 4.0 |onwards? Frankly speaking I didnt understand much of the documents. | |5. I would like to know where I can get the small driver written by Warner |Losh? | |6. Any other info on device drivers for freeBSD other than these two |documents posted on the list? I checked in the handbook but there seems |nothing on device drivres. | | |thanks in advance |--gb | | | | | |To Unsubscribe: send mail to majordomo@FreeBSD.org |with "unsubscribe freebsd-hackers" in the body of the message | --------------------------------------------------------- Andrew Reiter Computer Security Engineer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message