Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2000 10:20:13 -0400 (EDT)
From:      Andrew Reiter <s467338@gettysburg.edu>
To:        "G.B.Naidu" <gbnaidu@sasi.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Device driver requirement...
Message-ID:  <Pine.GSO.3.96.1000522101905.20285A-100000@jupiter2>
In-Reply-To: <Pine.GSO.4.10.10005221219050.28260-100000@sund6.sasi.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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	                 <s467338@gettysburg.edu> 
Computer Security Engineer     



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.1000522101905.20285A-100000>