.map_page = dma_direct_map_page,//caq:只有map,ops没有实现unmap,说明不需要 .map_sg = dma_direct_map_sg, .dma_supported = dma_direct_supported,//caq:是不是支持dma,设置dma mask 时检查 .mapping_error = dma_direct_mapping_error, }; 相当于把direct的映射,封装成了一个dma_map_ops,这个主...
Balmond, Sarah