<div><br>In ppc440 epx, I couldn&#39;t find any in_be8() or out_be8(), so I just use in_8() and out_8().</div>
<div>&nbsp;</div>
<div>gil</div>
<div><br>&nbsp;</div>
<div><span class="gmail_quote">On 12/31/07, <b class="gmail_sendername">Misbah khan</b> &lt;<a href="mailto:misbah_khan@engineer.com">misbah_khan@engineer.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>yes with respect to ioremap() its right ...i just missed the secound argument<br>....<br><br>in_8() and out_8() will work fine or i need to use in_be8() and out_be8() on
<br>PPC architecture ????<br><br>---Misbah&lt;&gt;&lt;<br><br><br>Misbah khan wrote:<br>&gt;<br>&gt; Hi all...<br>&gt;<br>&gt; I am writing a driver in which device port is mapped to CPLD and 8 bit<br>&gt; data bus is directly connected from processor to CPLD. Read write on CPLD
<br>&gt; memory mapped (buffer/register) is required to control the device. This is<br>&gt; now IO mapped to processor.<br>&gt;<br>&gt; I need to know whether i am right if i impliment like this :-<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addr=ioremap(base_addr);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Remap to Mem mapped address
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;outb(addr) and inb(addr);<br>&gt;<br>&gt; Please suggest me if i am wrong or there could be better solution to this<br>&gt; .<br>&gt;<br>&gt; -----Misbah &lt;&gt;&lt;<br>&gt;<br>&gt;<br><br>--<br>View this message in context: 
<a href="http://www.nabble.com/How-to-do-IO-mapped-Implimentation-----tp14522349p14554843.html">http://www.nabble.com/How-to-do-IO-mapped-Implimentation-----tp14522349p14554843.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>