Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 1995 08:58:56 -0400 (EDT)
From:      Peter Dufault <dufault@hda.com>
To:        hill@fluky.mitre.org (William H. Hill)
Cc:        questions@FreeBSD.org, hill@fluky.mitre.org
Subject:   Re: Porting Device Driver
Message-ID:  <199504211258.IAA15750@hda.com>
In-Reply-To: <9504141813.AA06179@fluky.mitre.org> from "William H. Hill" at Apr 14, 95 02:13:02 pm

next in thread | previous in thread | raw e-mail | index | archive | help
William H. Hill writes:
> 
> 
> Where can I find information regarding writing device drivers
> for FreeBSD?  
> 
> I have a driver written (for BSDI) for Adax boards which we use 
> for X.25, and I'd like to converto to FreeBSD.
> 
> Aside from the obvious differences in arguments passed to driver functions,
> which I'm trying to sort out, I'm wondering what else I might run in to.  
> This is my first venture into device drivers, and I'm told it's fraught
> with peril.  Any help would be appreciated!

I don't know if you ever got any response to this.  You shouldn't have
too much trouble porting the driver.  The "Design and Implementation of
the 4.3BSD OS" book by Leffler, McKusick, Karels and Quarterman (Addison
Wesley; ISBN 0-201-06196-1) will still apply overall.  There are some
new quirks having to do with devconf and some new improved functions
that aren't documented, but by looking at the source of the other
drivers (many of which are in /sys/i386/isa) and asking questions here
you shouldn't have much trouble.


Peter

-- 
Peter Dufault               Real Time Machine Control and Simulation
HD Associates, Inc.         Voice: 508 433 6936
dufault@hda.com             Fax:   508 433 5267



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