*BSD News Article 1815


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!spool.mu.edu!agate!ames!tulane!darwin.sura.net!jvnc.net!yale.edu!ira.uka.de!math.fu-berlin.de!NewsServ!LRZnews!schneck
From: schneck@Physik.TU-Muenchen.DE (Bernhard Schneck)
Newsgroups: comp.unix.bsd
Subject: Re: BSD/386 device driver
Keywords: driver
Message-ID: <schneck.710351162@Physik.TU-Muenchen.DE>
Date: 5 Jul 92 15:46:02 GMT
Article-I.D.: Physik.schneck.710351162
References: <1992Jul5.111545.21265@rz.uni-karlsruhe.de>
Sender: news@news.lrz-muenchen.de (Mr. News)
Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
Lines: 38

walter@etec.uni-karlsruhe.de (Reiner Walter) writes:

>I want to port a device driver from INTERACTIVE to BSD/386.

you'll get more help on BSD/386 is you send to BSDI's beta-tester
mailing list ... (unless you want to talk about 386bsd, of course)

>The driver from INTERACTIVE uses the 'u.' structure like u.u_count,u.u_base,
>u.u_offset ... .
>BSD/386 uses the 'uio' structure.
>I couldn't find any book which describes this 'uio' structure.
>Can anybody suggest me some books which describe this structure and which
>describe how to write device drivers for BSD/386 or how to port device drivers
>from INTERACTIVE to BSD.

Try "The Design and Implementation of the 4.3BSD UNIX Operating System",
by S. Leffler, M.K. McKusick, M.J. Karels and J.S. Quarterman from
Addison-Wesley ("The Devil Book"), pages 184-185, 231-232, 268, 273, 447
(from the index, your mileage may vary)

Also, the 4.3 BSD System Managers Manual (available from your friendly
UNIX User Group (USENIX/EurOpen/...) contains some interesting chapters.

And of course ... RTFSource :)

>Thank you for your answer!

>I havn't yet a mail access. Please post the answer under 'BSD/386 driver'
>in the 'com.unix.bsd' group.

HMPF.

\Bernhard.
--
Bernhard Schneck        Internet: Bernhard.Schneck@Physik.TU-Muenchen.DE
TU Muenchen Physik
8046 Garching           "There is no problem so big that it cannot be
Germany                 run away from"                  Illusions, Richard Bach