Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Oct 1997 17:41:25 -0700 (PDT)
From:      Simon Shapiro <Shimon@i-Connect.Net>
To:        "Jamil J. Weatherbee" <jamil@counterintelligence.ml.org>
Cc:        hackers@FreeBSD.ORG
Subject:   RE: Device drivers
Message-ID:  <XFMail.971002174125.Shimon@i-Connect.Net>
In-Reply-To: <Pine.BSF.3.96.971001204846.1348A-100000@counterintelligence.ml.org>

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

Hi "Jamil J. Weatherbee";  On 02-Oct-97 you wrote: 
>  
>  
>  I've taken a look at the source code to a few device drivers and run the
>  example scripts for Isa stuff, I have a general feeling of what needs to
>  be in one and how it operates however I simply don't feel I have enough
>  information (or a well enough documented example) to feel confident
>  writing one myself, does anyone have a document/FAQ no matter how small
>  describng the required functions/tables/probing /irq setup etc. so I
>  would
>  know what exactly I am doing. A line by line walk through of even a
>  cheeseball driver would be greatly appreciated or perhaps even a pointer
>  to a well documented driver (My standard is to have a comment on every
>  line of code, that's what I mean by "well documented"), but preferably
>  not
>  to lengthy where I am goin to mostly be looking at the nitty gritty of a
>  device I don't know about or understand. Someone passed me a driver for
>  a
>  stepper motor, the idea of what it is doing with the physical hardware
>  is
>  easy for me since I deal with that stuff all the time, unfortunately
>  there
>  are hardly no comments.  

Being new to FreeBSD drivers, I can appreciate your desire.
Grab the dlm patch from ftp://ftp.i-connect.net/crash.
It contains both the DLM (very, very alpha) and the DPT driver.  There is
also a paid of matching design papers.  They are not great but do contain a
description of the flow.

The DPT driver is actualy two drivers.  One is a SCSI Host Bus Adapter, and
one is a character decive driver.  They are both documented and hopefully
readable.  For SCSI only, try Justin's ahc driver.

---


Sincerely Yours, 

Simon Shapiro                                                 Atlas Telecom
Senior Architect         14355 SW Allen Blvd., Suite 130 Beaverton OR 97005
Shimon@i-Connect.Net                                  Voice:   503.799.2313



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.971002174125.Shimon>