From: Vitaly Bordug <vbordug@ru•mvista.com>
To: Laurent Pinchart <laurent.pinchart@tbox•biz>
Cc: linuxppc-embedded@ozlabs•org
Subject: Re: Accessing the CPM2 on an MPC82xx : CPM_MAP_ADDR or cpm2_immr ?
Date: Thu, 2 Feb 2006 17:07:53 +0300 [thread overview]
Message-ID: <20060202170753.2a805189@vitb.ru.mvista.com> (raw)
In-Reply-To: <200602021458.26623.laurent.pinchart@tbox.biz>
On Thu, 2 Feb 2006 14:58:26 +0100
Laurent Pinchart <laurent.pinchart@tbox•biz> wrote:
> 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.
>
Mentioned driver is deprecated.
> What's the correct way to access the CPM2 module ? Does ioremap() map
> CPM_MAP_ADDR to itself so that both ways are correct ?
>
Even direct cpm2_immr usage is not a good thing, but I cannot tell more without knowing your concerns. Can you please describe what you are planning to implement, prolly we can advice how to do that proper way.
> Laurent Pinchart
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs•org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>
--
Sincerely,
Vitaly
next prev parent reply other threads:[~2006-02-02 14:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2006-02-02 15:42 ` Laurent Pinchart
2006-02-02 18:55 ` Dan Malek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060202170753.2a805189@vitb.ru.mvista.com \
--to=vbordug@ru$(echo .)mvista.com \
--cc=laurent.pinchart@tbox$(echo .)biz \
--cc=linuxppc-embedded@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox