From owner-freebsd-hackers Mon May 22 0:12:23 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from sasi.com (sasi.com [164.164.56.2]) by hub.freebsd.org (Postfix) with ESMTP id 425BC37BBBA for ; Mon, 22 May 2000 00:11:59 -0700 (PDT) (envelope-from gbnaidu@sasi.com) Received: from samar (sasi.com [164.164.56.2]) by sasi.com (8.9.3/8.9.3) with SMTP id MAA16096 for ; Mon, 22 May 2000 12:40:19 +0530 (IST) Received: from sund6.sasi.com ([10.0.16.6]) by sasi.com; Mon, 22 May 2000 12:40:16 +0000 (IST) Received: from localhost (gbnaidu@localhost) by sund6.sasi.com (8.9.3/8.9.1) with ESMTP id MAA00299 for ; Mon, 22 May 2000 12:43:18 +0530 (IST) Date: Mon, 22 May 2000 12:43:18 +0530 (IST) From: "G.B.Naidu" To: freebsd-hackers@FreeBSD.org Subject: Device driver requirement... 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 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