🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.rt
Article #1328

VRM/AIX Driver Help

#1328
From: spalding
Date: Sun, 22 Nov 1987 17:18
41 lines
2408 bytes
I am writing a VRM/AIX device driver, and would like to get in
touch with anyone who has done this before.  I have some questions
arising from some omissions and conflicts in the documentation.

The device I'm trying to support is an Analog-to-Digital converter
board that we want to run at 10,000 conversions per second using
one of the system DMA channels.  Since there is considerable
software overhead associated with starting a DMA operation (translation
control words must be loaded, one per 2K block), I would like to
run the 8237 DMA controller in its auto-initialize mode.  This
will result in the data coming into a ring buffer, and it should
be easy enough to stay ahead of the DMA controller in writing the
data out to disk.  In the VRM _stdma() [start dma] function, you
can specify the 3237 control word, so there should be no problem
in establishing the auto-initialize mode.  But there is the question
of whether the VRM software will balk at this, since there will
be an interrupt on channel 0 whenever the 8237 reaches terminal
count.  Will VRM try to shut down the 8237 on the first interrupt?
Should I try to set up a second level interrupt handler for this in
order to outsmart VRM?

Aside from the device specific considerations, there is a bewildering
list of things that must be done to install a new driver, of which
I have discovered so far:

	- a VRM driver
	- an AIX driver
	- a configure helper program
	- changes to /etc/master
	- changes to /etc/system

I have some sample code from IBM, but unfortunately it consists of
a diskette VRM driver and a printer AIX driver, and I don't have
a sample configure helper proram.  Having a "matched set" of these
pieces would help greatly in understanding how they fit together.

Any leads would be much appreciated.

John W. Spalding 
spalding@p.cs.uiuc.edu
Technical Details
Message-ID: <101000003@uiucdcsp>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!rutgers!iuvax!pur-ee!uiucdcs!uiucdcsp!spalding

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!rutgers!iuvax!pur-ee!uiucdcs!uiucdcsp!spalding
From: spalding@uiucdcsp.cs.uiuc.edu
Newsgroups: comp.sys.ibm.pc.rt
Subject: VRM/AIX Driver Help
Message-ID: <101000003@uiucdcsp>
Date: Sun, 22-Nov-87 12:18:00 EST
Article-I.D.: uiucdcsp.101000003
Posted: Sun Nov 22 12:18:00 1987
Date-Received: Wed, 25-Nov-87 19:58:37 EST
Lines: 41
Nf-ID: #N:uiucdcsp:101000003:000:1830
Nf-From: uiucdcsp.cs.uiuc.edu!spalding    Nov 22 11:18:00 1987