H
heartofdra
I am writing a dirver of a PCI AD card. The design of the card is
common .It based on the PLX9054 , and there is a FIFO on the local
side, when the fifo is half full? it triges the interrupt , then the
dirver launch a DMA to get the data.
At first , I followed the Packet Based DMA method , and the upper
application writer told me their software can't responds enough
quickly. They ask me to setup a buffer in my dirver, then the
gathering data stored in the buffe firstly, when the upper application
need, it read the buffer.
If I adhibit this method , It is the driver , not the application
become the original DMA launcher. So , the dirver must perform a DMA
opertion automatically after each "half full interrupt" occurs. The
only way and the only palace I can imaging is the DPC where begin a
DMA Read opertion.
IS IT Workability? thanks.
common .It based on the PLX9054 , and there is a FIFO on the local
side, when the fifo is half full? it triges the interrupt , then the
dirver launch a DMA to get the data.
At first , I followed the Packet Based DMA method , and the upper
application writer told me their software can't responds enough
quickly. They ask me to setup a buffer in my dirver, then the
gathering data stored in the buffe firstly, when the upper application
need, it read the buffer.
If I adhibit this method , It is the driver , not the application
become the original DMA launcher. So , the dirver must perform a DMA
opertion automatically after each "half full interrupt" occurs. The
only way and the only palace I can imaging is the DPC where begin a
DMA Read opertion.
IS IT Workability? thanks.