linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Accessing the CPM2 on an MPC82xx : CPM_MAP_ADDR or cpm2_immr ?
@ 2006-02-02 13:58 Laurent Pinchart
  2006-02-02 14:07 ` Vitaly Bordug
  0 siblings, 1 reply; 4+ messages in thread
From: Laurent Pinchart @ 2006-02-02 13:58 UTC (permalink / raw)
  To: linuxppc-embedded

Hi everybody,

I noticed that the CPM2 module is accessed both through CPM_MAP_ADDR (physical 
address) and cpm2_immr (ioremap()ed address). For instance, the fec_enet 
driver configures the IO ports using (cpm2_map_t*)CPM_MAP_ADDR.

What's the correct way to access the CPM2 module ? Does ioremap() map 
CPM_MAP_ADDR to itself so that both ways are correct ?

Laurent Pinchart

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-02-02 18:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-02 13:58 Accessing the CPM2 on an MPC82xx : CPM_MAP_ADDR or cpm2_immr ? Laurent Pinchart
2006-02-02 14:07 ` Vitaly Bordug
2006-02-02 15:42   ` Laurent Pinchart
2006-02-02 18:55     ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).