Messages in this thread | | | Subject | Re: Specifying properly the PCI driver model on all linux architectur es, (ioremap(), bus_to_virt() ...) | From | Jes Sorensen <> | Date | 03 Nov 1999 15:17:59 +0100 |
| |
>>>>> "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/
| |