[fa.info-vax] NIDRIVER for VMS V4

info-vax@ucbvax.ARPA (07/17/85)

From: Kevin Carosso <engvax!KVC@cit-vax>

I converted the driver to run under VMS V4.  I don't know if I can just send
it out to anyone, so instead I will just tell you what to change to get the
V3 one to work, and hope Interlan doesn't get mad, after all, I told them
what to change... :-)

The version I modified had an ident of "V04-001" at the top.  These changes
should work with just about any version, however...

First of all, in the list of external definitions macros that are invoked,
you need to add $DYNDEF.  This is because these symbols are no longer found
in the system symbol table, SYS.STB by the linker.  Hence, they are to be
defined at assembly time...  I stuck it right after a line that looks like:

	$DEVDEF			; device characteristics

Second, when setting device characteristic bits in the Driver Prologue Table,
you must set the available bit (AVL) or VMS will no longer let the device be
assigned.  Replace:

	DPT_STORE UCB, UCB$L_DEVCHAR, L, <- 	; device characteristics
		DEV$M_IDV!-			; input device
		DEV$M_ODV>			; output device

with:
	DPT_STORE UCB, UCB$L_DEVCHAR, L, <- 	; device characteristics
		DEV$M_AVL!-			; available		;kvc001
		DEV$M_IDV!-			; input device
		DEV$M_ODV>			; output device

And that's it, at least with the version of the driver that I had at the time.
Everything else was just fine.

	/Kevin Carosso             engvax!kvc @ CIT-VAX.ARPA