Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Device Drivers

1 view
Skip to first unread message

Jeff Francis

unread,
Mar 30, 1995, 3:00:00 AM3/30/95
to
I'm working on a device driver for FreeBSD. While I've
managed to get it (mostly) working by many hours of digging through
include files, kernel source, and the other included drivers in
/sys/i386/isa, it's mostly been trial and error. I'm looking for a
reference (text file, FAQ, or book) to explain the why and how of BSD
device drivers. The vast majority of books I've managed to locate so
far are for SCO (SVR3.2 + additional nastiness) or generic SVR4.
While these are not without value, there's enough differences that I'd
like some documentation. Does any know of a BSD reference?

--jeff francis, jfra...@psisa.com

Peter Much

unread,
Apr 1, 1995, 3:00:00 AM4/1/95
to

Hellmuth Michaelis (the guy who wrote the pcvt Console driver) suggests
some literature in the pcvt docs - and he made a fine driver with that
literature.

One of these is Janet Egan&T.Teixera, "Writing a Unix Device Driver",
1989 Wiley&Sons, NewYork. In my (german) edition, there is a 30-pages
appendice handling specials of Berkeley Unix.
As far as i have read in that book, it is very informative and contains
relative few errors, compared with usual unix-sysadmin literature.

But look first into the pcvt docs - maybe there is even better stuff sug-
gestet.

Peter
--
Supporting:
ASCO Mailbox & Medienprojekt Kassel +49-561-23539
Comlink * APC * Blindnet & other media for handicapped people
Internet Mail * Usenet all/all cascade * TCP/IP via packet-radio

Write to: Peter Much * Koelnische Str. 22 * D-34117 Kassel * +49-561-774961
pe...@citylink.dinoex.sub.org mu...@hrz.uni-kassel.de p.m...@asco.nev.sub.de

Hellmuth Michaelis

unread,
Apr 3, 1995, 3:00:00 AM4/3/95
to
In <3lf73g$k...@giga.bga.com> jfra...@bga.com (Jeff Francis) writes:

>/sys/i386/isa, it's mostly been trial and error. I'm looking for a
>reference (text file, FAQ, or book) to explain the why and how of BSD
>device drivers.

What follows is a booklist compiled for the pcvt device driver. The most
BSD specific reference i have found is the first edition of Janet I. Egan
and Thomas J. Teixeira, "Writing a UNIX Device Driver".

Hope this helps & good luck!
hellmuth

Bell Telephone Laboratories, Inc. "UNIX Programmer's Manual, Seventh
Edition, Volume 2". Revised and Expanded Version.
Holt, Rinehart and Winston 1983


George Pajari, "Writing Unix Device Drivers"
Addison Wesley 1992


Janet I. Egan and Thomas J. Teixeira, "Writing a UNIX Device Driver"
John Wiley & Sons 1988


Janet I. Egan and Thomas J. Teixeira, "Writing a UNIX Device Driver"
Second Edition. John Wiley & Sons 1992


Leffler, McKusick, Karels, Quarterman, "The Design and Implementation
of the 4.3BSD UNIX Operating System"
Addison Wesley 1988, corrected Reprint 1989


Leffler, McKusick, "The Design and Implementation of the 4.3BSD UNIX
Operating System, Answer Book"
Addison Wesley 1991


Maurice J. Bach, "The Design of the UNIX Operating System"
Prentice-Hall 1986


Sun Microsystems Inc., "Writing Device Drivers"
Part No. 800-3851-10, Revision A of 27 March 1990


Hewlett-Packard Company, "HP-UX Driver Development Guide",
Part No. 98577-90013, First Edition 07/91


W. Richard Stevens, "Advanced Programming in the UNIX Environment",
Addison Wesley 1992


Phillip M. Adams, Clovis L. Tondo, "Writing Unix Device Drivers in C",
Prentice Hall 1993


Berny Goodheart, James Cox, "The Magic Garden Explained",
Prentice Hall 1994


Peter Kettle, Steve Statler, "Writing Device Drivers for SCO Unix"
Addison Wesley 1993


--
Hellmuth Michaelis GFKT HCS Computertechnik GmbH Hamburg, Europe
We all live in a yellow subroutine, yellow subroutine ...

0 new messages