[comp.sys.dec] How to get a DRV11-W to abort DMA transfer

weber@brand.usc.edu (Allan G. Weber) (06/24/88)

Does anybody know how, in software, to get a DEC DRV11-W DMA interface
to abort a transfer that it's trying to complete?  I'm running some
image processing peripherals off DRV11-Ws in a MicroVAX-II/Ultrix 2.2.
Occasionally, some device gets locked up and doesn't transfer as much
data as the DRV11-W is expecting.  The DRV11-W then sits there with
the READY bit in the CSR stuck low waiting for more data and won't
accept any new transfers.  If I pull the ATTN line high coming from
the device, it aborts the transfer and everything is fine.  However I
would also like a way to let the software abort the transfer with an
ioctl or something like that.

Perhaps setting the word count register to zero, or doing something
with the maintanence bit will do the trick.  If anybody knows the
preferred way to do this, I would appreciate hearing about it.

Thanks.

				Allan Weber
				USC Signal and Image Processing Institute
				Arpa:	weber%brand.usc.edu@oberon.usc.edu
				uucp:	...!sdcrdcf!usc-oberon!brand!weber