Re: [linux-fbdev] Re: request_region for MMIO?

Jes Sorensen (Jes.Sorensen@cern.ch)
01 Feb 1999 15:19:35 +0100


>>>>> "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/