Re: The concept of work in ni_pcidio.c

Hi All:

	I'm working on mods to the ni_pcidio.c driver to support
handshaking with DMA. While parsing the code in the nidio_interrupt()
function, I noticed an integer term called "work" that is used to limit
time spent in a loop that runs so long as the fifo's are not empty and any
of the group_1 status bits are non zero. What , in this case, is "work",
and why is it used? I can't find any references to it in Linux Device
Drivers or any of the National Instruments lit. It's being used to limit
the amount of data sent to the comedi buffers during data input, I'm
interested in the thought behind its use.

Andrew

Received on 2002-06-06Z21:02:16