lkml.org 
[lkml]   [1999]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Specifying properly the PCI driver model on all linux architectur es, (ioremap(), bus_to_virt() ...)
From
Date
>>>>> "Adrian" == Adrian Cox <apc@agelectronics.co.uk> writes:

Adrian> /dev/mem also uses remap_page_range, so the only difference is
Adrian> that fb_mmap contains a frightening number of #ifdefs on
Adrian> machine type. Maybe I should take this as evidence that I'm
Adrian> safe here.

Those ifdef's are there to set the cache mode of the memory in
question - however I think at some point we will replace them all with
a single architecture specific function hidden in include/asm/

The only special case is for the Sparc because they are using an old
model which is compatible with Solaris' way of accessing the memory.

Jes

-
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:54    [W:0.081 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site