[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?
>>>>> "Geert" == Geert Uytterhoeven <> writes:

Geert> On 1 Feb 1999, Jes Sorensen wrote:
>> >>>>> "Geert" == Geert Uytterhoeven
>> <> writes:
Geert> Is it OK to use request_region() for claiming memory mapped I/O
Geert> registers?
>> Certainly not.
Geert> Is there any good reason why

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> while get_ioport_list() uses `%04lx' to print the claimed
Geert> regions? This makes me think I should use request_region() for
Geert> `PC' I/O port regions only.
>> Correct

Geert> Then what should I use?

For I/O port type things you use request_region(), for real shared
memory there is currently no mechanism afaik.

Geert> BTW, on m68k we never used request_region() and friends, so we
Geert> are wasting memory for that 128-entry table in
Geert> kernel/resource.c ;-(

We will need it for supporting the ISA bus bridges for the Amiga,
Atari and other boxes.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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