From: "nitin ahuja" <nitin2ahuja@myrealbox.com>
To: nobin_matthew@yahoo.com
Cc: kernelnewbies@nl.linux.org, linux-kernel@vger.kernel.org,
linux-net@vger.kernel.org,
linux-arm-kernel@lists.arm.linux.org.uk
Subject: Re: HELP:(VIPER BOARD)AC'97 controller driver for rtlinux(rtlinux core driver)
Date: Wed, 06 Apr 2005 09:46:16 -0600 [thread overview]
Message-ID: <1112802376.8c7c3afcnitin2ahuja@myrealbox.com> (raw)
Hi,
>
> I am trying to develop a codec driver (rtlinux
> driver) from scratch. In Viper board (PXA255)
> physical memory range 0x40000000-0x43FFFFFF is used
> by the PXA255 peripherals.In that address range
> 0x40500000-0x405005FC is needed for AC'97 controller
> registers. Is this memory range is already mapped to
> virtual address space, else How to map this to
> virtual address space.
>
You have to map this address range using "ioremap()". Data at address returned by ioremap can be accessed by calling readl(), writel() et al
>
> When i tried ioremap() it is giving same virtual
> address with different physical address(i tried
> ioremap with another driver(same board)with different
> physical memory address)
>
Same virtual address can point to different physical addresses depending upon how it is mapped.
Nitin
next reply other threads:[~2005-04-06 15:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-06 15:46 nitin ahuja [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-04-06 8:02 nobin matthew
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=1112802376.8c7c3afcnitin2ahuja@myrealbox.com \
--to=nitin2ahuja@myrealbox.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net@vger.kernel.org \
--cc=nobin_matthew@yahoo.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
all inboxes | Powered by JetHome®