lkml.org 
[lkml]   [1999]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-fbdev] Re: request_region for MMIO?
On 1 Feb 1999, Jes Sorensen wrote:
> >>>>> "Geert" == Geert Uytterhoeven <Geert.Uytterhoeven@cs.kuleuven.ac.be> 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
>
> Geert> | typedef struct resource_entry_t { | u_long from, num; ^^^^^^
> Geert> | const char *name; | struct resource_entry_t *next; | }
> Geert> resource_entry_t;
>
> 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

Then what should I use?

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

Greetings,

Geert

--
Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP} http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium


-
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.066 / U:0.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site