From: "Jeyner Gil Caga" <jeynergilcaga@gmail.com>
To: "Misbah khan" <misbah_khan@engineer.com>, linuxppc-embedded@ozlabs.org
Subject: Re: How to do IO mapped Implimentation ???
Date: Mon, 31 Dec 2007 19:57:12 +0800 [thread overview]
Message-ID: <cad107560712310357u6edc463al5ed19a6d7b34e52e@mail.gmail.com> (raw)
In-Reply-To: <14555864.post@talk.nabble.com>
[-- Attachment #1: Type: text/plain, Size: 1519 bytes --]
Hmmm, I have not touched ppc8248 before, but I guess it will work since it
is only 1 byte, not 2 or 4 byte access. I have used it in ppc 440epx, and
that eval board is big endian as well.
On 12/31/07, Misbah khan <misbah_khan@engineer.com> wrote:
>
>
> I have used in_be32() and out_be32() for ppc8248 in one of my driver for
> FPGA
> in which the fpga memory is mapped here it is Io mapped thats the only
> difference ....remapping and using in_8() and out_8() will it work for
> BigEndian arch ????
>
> -----Misbah <><
>
>
> Misbah khan wrote:
> >
> > Hi all...
> >
> > I am writing a driver in which device port is mapped to CPLD and 8 bit
> > data bus is directly connected from processor to CPLD. Read write on
> CPLD
> > memory mapped (buffer/register) is required to control the device. This
> is
> > now IO mapped to processor.
> >
> > I need to know whether i am right if i impliment like this :-
> > addr=ioremap(base_addr); // Remap to Mem mapped
> address
> > outb(addr) and inb(addr);
> >
> > Please suggest me if i am wrong or there could be better solution to
> this
> > .
> >
> > -----Misbah <><
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-to-do-IO-mapped-Implimentation-----tp14522349p14555864.html
> Sent from the linuxppc-embedded mailing list archive at Nabble.com.
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
[-- Attachment #2: Type: text/html, Size: 2291 bytes --]
next prev parent reply other threads:[~2007-12-31 11:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-28 5:12 How to do IO mapped Implimentation ??? Misbah khan
2007-12-28 17:35 ` Jeyner Gil Caga
2007-12-31 6:46 ` Misbah khan
2007-12-31 8:09 ` Jeyner Gil Caga
2007-12-31 10:02 ` Misbah khan
2007-12-31 11:57 ` Jeyner Gil Caga [this message]
2007-12-31 12:44 ` Misbah khan
2007-12-31 14:43 ` Jeyner Gil Caga
2008-01-02 9:18 ` Misbah khan
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=cad107560712310357u6edc463al5ed19a6d7b34e52e@mail.gmail.com \
--to=jeynergilcaga@gmail.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=misbah_khan@engineer.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).