Hello Vijay,

> -----Urspr?ngliche Nachricht-----
> Von: linuxppc-embedded-bounces at ozlabs.org
> [mailto:linuxppc-embedded-bounces at ozlabs.org]Im Auftrag von Vijay
> Padiyar

> with reference to my earlier mail, when do we need to use
> ioremap() and when
> do we need to use request_mem_region()? Or do we need to use both in a
> particular sequence?

I think first you have to progamm the chip select of your cpld correctly.
(see the mail from Mark)
You can do this in your module_init funktion.

Now you call request_mem_region to mark this memory used.
Now can mapp the virtual adress to your process by calling ioremap().

Regards

Achim


Reply via email to