Oh, I just missed the io mapped in your previous email. Unfortunately, my experience is only limited to memory map. I think they should be the same.<br><br>
<div><span class="gmail_quote">On 12/31/07, <b class="gmail_sendername">Misbah khan</b> <<a href="mailto:misbah_khan@engineer.com">misbah_khan@engineer.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>You are absolutly right and i guess it will certainly work for 8248 as well ,<br>but the only concern is that " here in mine case the register is not memory
<br>mapped where as its IO mapped " we have to consider the memory as IO port<br>and then access the data ....<br><br>What you have used i guess its memory mapped ...Is it that accessing memory<br>mapped is same as io mapped ?????
<br><br><br>---Misbah<br><br>Misbah khan wrote:<br>><br>> Hi all...<br>><br>> I am writing a driver in which device port is mapped to CPLD and 8 bit<br>> data bus is directly connected from processor to CPLD. Read write on CPLD
<br>> memory mapped (buffer/register) is required to control the device. This is<br>> now IO mapped to processor.<br>><br>> I need to know whether i am right if i impliment like this :-<br>> addr=ioremap(base_addr); // Remap to Mem mapped address
<br>> outb(addr) and inb(addr);<br>><br>> Please suggest me if i am wrong or there could be better solution to this<br>> .<br>><br>> -----Misbah <><<br>><br>><br><br>--<br>View this message in context:
<a href="http://www.nabble.com/How-to-do-IO-mapped-Implimentation-----tp14522349p14557204.html">http://www.nabble.com/How-to-do-IO-mapped-Implimentation-----tp14522349p14557204.html</a><br>Sent from the linuxppc-embedded mailing list archive at
<a href="http://Nabble.com">Nabble.com</a>.<br><br>_______________________________________________<br>Linuxppc-embedded mailing list<br><a href="mailto:Linuxppc-embedded@ozlabs.org">Linuxppc-embedded@ozlabs.org</a><br><a href="https://ozlabs.org/mailman/listinfo/linuxppc-embedded">
https://ozlabs.org/mailman/listinfo/linuxppc-embedded</a><br></blockquote></div><br>