Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 1995 19:01:00 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        freebsd-hackers@freebsd.org
Subject:   How to abort a DMA transfer ?
Message-ID:  <199508201701.TAA12803@labinfo.iet.unipi.it>

next in thread | raw e-mail | index | archive | help
How (within a device driver) do I abort a DMA transfer which has
been started but has not completed yet ? I am having this problem
in the driver for a hand-scanner (the scanner does some read ahead;
meanwhile, a user might close the device and we want to abort the
transfer and free the buffer). I am surprised I haven't seen (or
understood!) anything like this in existing drivers, not even in
the floppy driver!

	Thanks
	Luigi
====================================================================
Luigi Rizzo                     Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it       Universita' di Pisa
tel: +39-50-568533              via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522              http://www.iet.unipi.it/~luigi/
====================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508201701.TAA12803>