On Wed, 20 Sep 2000 fh...@at... wrote:
> Can someone explain to me how APUS is using memory
> in relation to a driver? If I request a region,
> check_region()/request_region(), for I/O where
> will the kernel most likely map that memory.
The *_region() functions only _reserve_ regions, they don't map it.
{request,release}_region() is meant for I/O space, which the Amiga doesn't
have.
{request,release}_mem_region() is meant for memory space, which is what you
have on Amiga.
Before you can access memory space, you have to ioremap() the region.
> Also on the APUS Amiga how to a get memory to be non
> cachable?
ioremap() does this by default.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li...
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
|