hm, I think the only way to get the bus addr. is to use something like dma_map_sg... as descriped in Documentation/DMA-API-HOWTO.txt, or? I would prefer something that is working with old kernel versions, too ;(
>-----Original Message----- >From: [email protected] >[mailto:[email protected]] On Behalf Of Trübenbach, Ralf >Sent: Wednesday, October 20, 2010 1:55 PM >To: [email protected] >Subject: DMA transfer is not working if highmem is enabled >... >I tried with page_to_phys() instead of page_address/virt_to_bus which >seems to work. But is this correct for all architectures? As far as I >understood I have to use the bus addresses and not the physical >addresses to fill the DMA scatter list. >... -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [email protected] Please read the FAQ at http://kernelnewbies.org/FAQ
