How to do IO mapped Implimentation ???

Misbah khan misbah_khan at
Mon Dec 31 23:44:07 EST 2007

You are absolutly right and i guess it will certainly work for 8248 as well ,
but the only concern is that " here in mine case the register is not memory
mapped where as its IO mapped " we have to consider the memory as IO port
and then access the data ....

What you have used i guess its memory mapped ...Is it that accessing memory
mapped is same as io mapped ?????


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:
Sent from the linuxppc-embedded mailing list archive at

More information about the Linuxppc-embedded mailing list