[comp.sys.dec] Seeking help with Ultrix devices

robert@alxfin.UUCP (Robert Talley) (03/25/88)

I would like to be able to map a small portion of the Q-bus I/O page
into a user process so that I can directly control a device on the bus.
In checking through the Ultrix documentation, I have found that the
'ik' device driver (in the unsupported subsets) does this so that
the user can eliminate the I/O overhead through the kernel.

What I would like to know is, can anyone point me in the right direction
to obtain information on the kernel calls and/or functions required to
do this. Eventually I would like to write a device driver that also
incorporates device interrupt handling, but just being able to map the
device registers into my process will suffice for now.

Of course I do not have a source license and am quite the neophyte when it
comes to device drivers. I would really appreciate any experiences, tips,
warnings, and/or examples that anyone could provide.

My environment is: DEC uVAX-I/II systems
		   Ultrix v1.2 and/or 2.0[2]
An example device is the DRV11-J (or equivilent register structure)

PLEASE EMAIL RESPONSES. I will summarize if requested.
Thank you in advance for sharing your knowlege.

Robert Talley
...!{moss,mtune}!codas!alxfin!robert
-----------------------------------------------------------------------------
codas-------\                                     ___________^___________
             \                                             ( * )
              \---alxfin!robert                             \-/ 
               \---alxfin!rtmvax!rob                      o/   \o
                                                Alexander Aviation Associates
alxfin!robert                                          Apopka, Florida
-----------------------------------------------------------------------------