* Accessing I2C from User Space
@ 2002-12-27 7:29 Aman
2003-01-06 4:07 ` Matt Porter
0 siblings, 1 reply; 2+ messages in thread
From: Aman @ 2002-12-27 7:29 UTC (permalink / raw)
To: linuxppc embedded
Hi,
Iam working on IBM 440gp. I need to access the IIC registers from the
user space. So I wrote a driver mmap entry point. But I noticed that the
function remap_page_range () takes physical address as unsigned long which
is 32 bits. How do I remap the IIC registers which lie in the 36 bit
physical address space?
Regards,
Aman.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Accessing I2C from User Space
2002-12-27 7:29 Accessing I2C from User Space Aman
@ 2003-01-06 4:07 ` Matt Porter
0 siblings, 0 replies; 2+ messages in thread
From: Matt Porter @ 2003-01-06 4:07 UTC (permalink / raw)
To: Aman; +Cc: linuxppc embedded
On Fri, Dec 27, 2002 at 12:59:49PM +0530, Aman wrote:
>
> Hi,
>
> Iam working on IBM 440gp. I need to access the IIC registers from the
> user space. So I wrote a driver mmap entry point. But I noticed that the
> function remap_page_range () takes physical address as unsigned long which
> is 32 bits. How do I remap the IIC registers which lie in the 36 bit
> physical address space?
There's a reference to a patch in one of my changeset entries. It pays
to keep current with the development trees. See the changesets in your
local BK tree or browse the linuxppc-commit archives.
BTW, why the need to manipulate the registers directly?
Regards,
--
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-06 4:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-27 7:29 Accessing I2C from User Space Aman
2003-01-06 4:07 ` Matt Porter
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).