![]() | |||||||||||||
Messages in this thread |
>>>>> "James" == James Bottomley <James.Bottomley@steeleye.com> writes: James> Erm, I don't think so. pci_map_single() covers a different use James> case from pci_map_page(). James> The thing pci_map_single() can do that pci_map_page() can't is James> cope with contiguous regions greater than PAGE_SIZE in length James> (which you get either from kmalloc() or __get_free_pages()). James> This feature is used in the SCSI layer for instance. The question is whether that should be allowed in the first place. Some IOMMU's will have to map it page-by-page anyway. However if it is to remain a valid use then I don't see why pci_map_page() shouldn't be able to handle it under the same conditions by passing it a size > PAGE_SIZE. Cheers, Jes - 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/ | ||||||||||||
| Last update: 2005-03-22 13:58 [from the cache] ©2003-2008 | |||||||||||||