[comp.unix.wizards] UNIX V rel 3 Device Driver

KENG%NUSEEV.BITNET@cunyvm.cuny.edu (01/10/90)

I am currently developing a device driver for  the p1580
card from Proteon. My work station is using Unix system V
release 3. I have been hunting around for the Kernel routines
that I can use. The few kernel commands that I know are
from the sun 3 reference manual "Writing a device driver".
However since sun is using BSD unix, they are not compatible.
The model of my machine is Motorola SysV/68.

I really hope someone can help me in getting hold of all those
kernel commands and routines.
Many thanks.

dyer@spdcc.COM (Steve Dyer) (01/11/90)

In article <22026@adm.BRL.MIL> KENG%NUSEEV.BITNET@cunyvm.cuny.edu writes:
>I am currently developing a device driver for  the p1580
>card from Proteon. My work station is using Unix system V
>release 3. I have been hunting around for the Kernel routines
>that I can use. The few kernel commands that I know are
>from the sun 3 reference manual "Writing a device driver".
>However since sun is using BSD unix, they are not compatible.
>The model of my machine is Motorola SysV/68.

You probably will want to use System V.3 STREAMS.  AT&T sells two books,
a STREAMS Primer and a STREAMS Manual which contains much of what you
need to know.  The Primer is overpriced and is largely a subset of what is
in the Manual, but when I remember reading both a few years ago, it
felt like there was some stuff in the Primer which was missing in
the manual.  I can't say for certain right now.

A STREAMS device driver is fairly straightforward once you grok the
way the entire design works.  It's always helpful to have boilerplate to
copy from, of course, but you can probably do a fair job on your own.

-- 
Steve Dyer
dyer@ursa-major.spdcc.com aka {ima,harvard,rayssd,linus,m2c}!spdcc!dyer
dyer@arktouros.mit.edu, dyer@hstbme.mit.edu