> This should work. If you have highmem pages and your device can't
> handle >32-bit physical addresses, then kmap() them
> before pci_map_sg()ing them and kunmap() them after
> pci_unmap_sg()ing.
--verbose please, I don't see how kmap() will fix the 32-bit limit issue.
As far I know kmap() doesn't move the page in physical memory, but
creates a virtual mapping for it. Thus the kernel (i.e. the CPU) can
access it, but PCI busmasters still can't ...
Gerd
-- You can't please everybody. And usually if you _try_ to please everybody, the end result is one big mess. -- Linus Torvalds, 2002-04-20 - 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/
This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:42 EST