I am developing a VME device driver on HP-UX 10.20 model 743i.
I have the documentation "VME Device Driver"(Part No: A4412-90020).
I must use DMA for my device driver. I found some problems:
(1) DMA parameters struct "dma_parms" is not in /usr/conf/h/uio.h that
described in above document, it is in /usr/conf/h/io.h
(2) the field "chain_ptr" of dma_parms, its type is not
"struct addr_chain_type" that described in above document, but
"struct iovec". Since I have to use chain physical address
chain_ptr[index].physical_addr to DMA after calling
I ever tried to use chain_ptr[index].io_base as the physical address to
DMA. I traced and debuged for it, I found xxxx.iov_base could not be
used as physical address for DMA. What should I do?