lkml.org 
[lkml]   [1998]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: virt_to_bus and >1G of memory (was MAX_DMA_ADDRESS ...)
Date
> The "virt_to_phys()" and "virt_to_bus()" things are _only_ supposed to
> work on normal kernel mappings, the kind of mappings you get from
> "get_free_pages()" etc. Assuming anything else is just stupid, because it
> assumes a level of complexity that I never want to see.

If you need to do this (eg as the bttv driver sort of does) then you can
walk the page tables but then it goes non portable. It'll do until we get
a nice DMA api in 2.3.x


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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