lkml.org 
[lkml]   [1999]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [linux-fbdev] Re: request_region for MMIO?
From
Date
>>>>> "Geert" == Geert Uytterhoeven <Geert.Uytterhoeven@cs.kuleuven.ac.be> writes:

Geert> On 1 Feb 1999, Jes Sorensen wrote:
>> Oh did I get you wrong here, do you mean PCI I/O registers that
>> just happen to be mem mapped on non x86 architectures or do you
>> actually mean PCI shared memory type registers?

Geert> I mean anything I can map with ioremap(). Before I map it, I
Geert> have to make sure it's not yet in use by a(nother) driver. For
Geert> I/O ports, we have request_region() for that purpose.

Oh, in that case there is currently no method afaik. Point here is
that nobody really has any way of guaranteeing who owns what - ie. you
can have the case (and you often will) that a user space application
wants to mmap() registers while the kernel uses them, like we have
with gfx.

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