mpc52xx_mmap_ctl access

Marcelo Dalmas m_dalmas at yahoo.com.br
Wed Apr 2 04:03:36 EST 2008


Hi all!

I'm updating a device driver from linux 2.6.16 ppc
tree to linux 2.6.24 powerpc in a lite5200 based
board.

I need to access  mpc52xx_mmap_ctl and mpc52xx_cslpc.

In ppc tree I do:

 mmap_ctl =
ioremap(MPC52xx_PA(MPC52xx_MMAP_CTL_OFFSET),
                     MPC52xx_MMAP_CTL_SIZE)

How can I access it in powerpc tree?


Thank you,

Marcelo Dalmas
 



      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/


More information about the Linuxppc-embedded mailing list