- From: David Schleef <ds_at_schleef.org>
- Date: Sat, 30 Nov 2002 16:43:20 -0800
On Sat, Nov 30, 2002 at 01:50:15PM -0800, Lucas Watkins wrote: > > Hi folks, > > I would really like to see DMA implemented for the counter on the 6052E > card. I'm assuming once this is done, it can be extended easily to other > counters on mite cards, such as the 6602. I'm willing to do all of the > work myself, but I'm not really sure what would need to be done, as the > available mite documentation is rather lacking. Is there any other > interest in something like this? What would I need to do? Since Frank and the others fixed the MITE code to properly handle multiple DMA channels, it should just be a matter of hooking up the third DMA channel to one of the GPTCs. However, the problem you'll run into is that Comedi only handles one streaming input and one streaming output per device, which are currently used by analog input and output. The plan is to eventually change from using /dev/comedi0 to /dev/comedi0a, /dev/comedi0b, etc., so that each device can have multiple files. (The fact that Comedi uses read() and write() on a single file is a hack.) I'm still trying to determine how to do this transition smoothly. However, I doubt the counter code for the PCI-MIO boards can easily be modified to work with the 660x boards. dave...
Received on 2002-12-01Z00:43:20