&nbsp;OK.&nbsp; I'm breaking my promise. :)&nbsp; A couple more questions.<br><br><div><span class="gmail_quote">On 8/21/06, <b class="gmail_sendername">Grant Likely</b> &lt;<a href="mailto:grant.likely@secretlab.ca">grant.likely@secretlab.ca
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 8/21/06, Wade Maxfield &lt;<a href="mailto:wmaxfield@gmail.com">wmaxfield@gmail.com
</a>&gt; wrote:<br>&gt; Hi Grant,<br>&gt;<br>&gt;&nbsp;&nbsp; Thanks!<br>&gt;<br>&gt;&nbsp;&nbsp; in*<br>&gt;&nbsp;&nbsp; out*<br>&gt;<br>&gt;&nbsp;&nbsp; I'm assuming inb() outb(), inw() outw()??&nbsp;&nbsp;I've been googling and have<br>&gt; come up short with info that makes sense. It is almost all x86 centric.
<br><br>in_8, in_be16, in_be32, out_8, out_be16, out_be32 for big-endian<br>device registers<br>in_8, in_le16, in_le32, out_8, out_le16, out_le32 for little endian<br>device registers</blockquote><div><br>--&gt;Interesting.&nbsp; Do these functions do 'eieio'&nbsp; (Email, Internet, Electronic Information Officer functions (southpark cartoon), err, or&nbsp; Enforce In-Order Execution of Input/Output) for me, or do I have to do that?&nbsp; I'm still confused as to that Old MacDonald function.
<br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;<br>&gt;&nbsp;&nbsp; We will not be porting these drivers, this is a captive box internal use
<br>&gt; only, limited run (200 units or so), 10 to 20 year lifespan once it hits the<br>&gt; field.<br>&gt;<br>&gt;&nbsp;&nbsp; So, the virtual address I get back can be used directly.&nbsp;&nbsp;Can I cast to<br>&gt; short * and long * and char *?
<br><br>heh, yes you can; but if your writing new code why not use good<br>practice from the start?&nbsp;&nbsp;:)</blockquote><div><br>--&gt; Ok, you win.&nbsp; How about ioread8() or inb() also?&nbsp; Are they not coded in PPC correctly? Or is the in_8() more modern?
<br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;I apologize for the basic questions, but I expect this will be a final
<br>&gt; question for quite some time.<br><br>No worries; ask away!</blockquote><div><br><br>--&gt; is ioremap() equivalent to ioremap_nocache() on the PPC 405?<br><br><br>THANKS AGAIN!!!!<br>wade :) <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Cheers,<br>g.<br><br><br>BTW, when on the mailing list, please use &quot;reply to all&quot; and put your<br>comments below what you're commenting on.&nbsp;&nbsp;This keeps the thread on<br>the mailing list for others to see, and it makes it blatentely obvious
<br>what you're commenting on.&nbsp;&nbsp;(just general list-etiquette)<br><br>--<br>Grant Likely, B.Sc. P.Eng.<br>Secret Lab Technologies Ltd.<br><a href="mailto:grant.likely@secretlab.ca">grant.likely@secretlab.ca</a><br>(403) 399-0195
<br></blockquote></div><br>