Subject: Re: How to do IO mapped Implimentation ???

From: Misbah khan <[email-masked]>
Date: Wed, 2 Jan 2008 01:18:14 -0800 (PST)

Till now i assume that Io mapped and memory mapped Implimentation are same
...the biggest doubt is How the two would remain the same ....If any of you
have worked on it Please share your experience with me ....

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-----tp14522349p14575369.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.