[lkml]   [2001]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Question about ioremap and io_remap_page_range
> >      VIRT_ADDR = ioremap(BUS_ADDR); to map a section of PCI memory, and
> > X_ADDR = virt_to_phys(VIRT_ADDR);
> i'd suggest to read Documentation/DMA-mapping.txt in any recent kernel
> source, the bus_to_virt()/virt_to_phys() interface is obsolete and has
> been replaced by the pci_alloc_*/pci_map_*/pci_free_*() dynamic
> DMA-mapping API.

...or, of course, _Linux_Device_Drivers_, Second Edition, available online
at The DMA chapter covers
this API as well.



Jonathan Corbet
Executive editor,
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:1.118 / U:0.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site