i’m porting a DOS Driver of an Adlink PCI7200 under QNX 6.2
Basic I/O works, but when i try to enable DMA Transfer it crash QNX, the
chip
used for DMA is a AMCC S5933.
Just shoot in the dark… I hope you use appropriate flags to get physicly contiguous chunk of
memory for DMA buffers… There is example in documentation. And check twice you’re writting correct
physical address into DMA controller.
Also make sure you aren’t passing the virtual address of your mmap’ed region
to the DMA controller. You need to use mem_offset() to get the physical
address from the virtual.
i’m porting a DOS Driver of an Adlink PCI7200 under QNX 6.2
Basic I/O works, but when i try to enable DMA Transfer it crash QNX, the
chip
used for DMA is a AMCC S5933.
Just shoot in the dark… I hope you use appropriate flags to get physicly
contiguous chunk of
memory for DMA buffers… There is example in documentation. And check
twice you’re writting correct
physical address into DMA controller.