Messages in this thread |  | | Date | Tue, 06 Feb 2007 10:08:58 +0100 | From | Stefan Richter <> | Subject | Re: [PATCH] Missing critical phys_to_virt in lib/swiotlb.c |
| |
I wrote: > Unfortunately an author of lib/swiotlb.c chose to call many variables > holding *virtual* addresses "dma_addr". Note how that file at the same > time contains variables like "dma_addr_t dma_handle".
And there is even one occurrence of a "dma_addr" holding a physical address/ bus address, unlike the other dma_addr's: int swiotlb_dma_mapping_error(dma_addr_t dma_addr) { return (dma_addr == virt_to_phys(io_tlb_overflow_buffer)); } -- Stefan Richter -=====-=-=== --=- --==- http://arcgraph.de/sr/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |