Xref: utzoo comp.unix.sysv386:4057 comp.unix.questions:28048 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!csn!tramp.Colorado.EDU!hanson From: hanson@tramp.colorado.edu (HANSON JEFFREY ALLAN) Newsgroups: comp.unix.sysv386,comp.unix.questions Subject: Help with simple Device Driver for ISC Message-ID: <1991Jan15.172924.5987@csn.org> Date: 15 Jan 91 17:29:24 GMT Sender: news@csn.org Distribution: na Organization: University of Colorado, Boulder Lines: 29 Originator: hanson@tramp.Colorado.EDU Nntp-Posting-Host: tramp.colorado.edu Hello netters, I have been given the task of writing a device driver for a digital i/o board to be used under ISC 2.2 . I have no device driver writing experience which is why I am posting this request. I am looking for : 1. good advice (always welcome) 2. possibly some code segments of examples of similar drivers 3. or even a sample driver of a similar device. I realize as devices go that this is relativley simple but my lack of experience with drivers makes me uncomfortable just 'diving in'. I have looked through the ISC Integrated Software Development Guide but would feel more comfortable after seeing some examples. The device is a RTI-817 card made by Analog Devices and is a 24-bit channel which can be divided into (3) 8 bit ports. Each port can be either input or output (hardware selectable). One port supports an interrupt when the inputs on it have changed. I would like to have read capabilities for one port and write for the other 2. Any experience/advice which anyone would like to share will be much appreciated. The card occupies an 8-bit bus slot also. Thanks, Jeff Hanson hanson@tramp.colorado.edu