Xref: utzoo comp.sys.dec:6001 comp.unix.ultrix:7635 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!mips!daver!ditka!zinn!decvax.dec.com!decvax.DEC.COM!map From: map@decvax.DEC.COM (Mark Parenti) Newsgroups: comp.sys.dec,comp.unix.ultrix Subject: Re: Device driver help Message-ID: <1991Jun12.134141.26303@decvax.dec.com> Date: 12 Jun 91 13:41:41 GMT References: <22345@cbmvax.commodore.com> Sender: usenet@decvax.dec.com (Usenet News System) Reply-To: map@decvax.DEC.COM (Mark Parenti) Organization: Ultrix Engineering Group Lines: 36 Nntp-Posting-Host: noway.zk3.dec.com In article <22345@cbmvax.commodore.com>, grr@cbmvax.commodore.com (George Robbins) writes: |> In article haines@valkyrie.ecn.uoknor.edu (Mark Haines) writes: |> > It might be good if someone out there could suggest a book or paper on |> > writing a device driver. I've looked through a couple of Unix books and |> > understand the basic principles, but not the specifics. |> |> There are several sources: The Unix Device Driver Book, which is mostly |> oriented towards AT&T unix, some documents in the Sun manual set which |> are partly sun specific, but at least talk in BSD terms and there is a |> new document in the Ultrix 4.2 manual set which describes writing turbo- |> channel drivers, which is probably the only Ultrix specific thing you'll |> find. There were rumors of some other Ultrix driver manual or paper, |> but it wasn't general distribution or may have only been available to |> source licencees, perhaps one of the DEC people could comment. Finally, |> the 4.3BSD Unix Operating System book by Leffler et. all. has a good |> overview of the I/O system and driver requirements. |> The guide included with V4.2 (Guide to Writing and Porting VMEbus and TURBOchannel Device Drivers) includes a lot of general ULTRIX device driver information, including how to include a driver into the kernel, the steps you should go through for driver installation, and an appendix of kernel routine manpages. If you can't get V4.2 you might try to contact your salesperson or the TRIADD organization to see if you can get a copy of the manual. There are plans to do a more comprehensive set of books which would include a device driver tutorial. Mark Parenti ULTRIX Engineering Group map@decvax.dec.com