OK. I'm breaking my promise. :) A couple more questions.<br><br><div><span class="gmail_quote">On 8/21/06, <b class="gmail_sendername">Grant Likely</b> <<a href="mailto:grant.likely@secretlab.ca">grant.likely@secretlab.ca
</a>> 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 <<a href="mailto:wmaxfield@gmail.com">wmaxfield@gmail.com
</a>> wrote:<br>> Hi Grant,<br>><br>> Thanks!<br>><br>> in*<br>> out*<br>><br>> I'm assuming inb() outb(), inw() outw()?? I've been googling and have<br>> 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>-->Interesting. Do these functions do 'eieio' (Email, Internet, Electronic Information Officer functions (southpark cartoon), err, or Enforce In-Order Execution of Input/Output) for me, or do I have to do that? 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;">><br>> We will not be porting these drivers, this is a captive box internal use
<br>> only, limited run (200 units or so), 10 to 20 year lifespan once it hits the<br>> field.<br>><br>> So, the virtual address I get back can be used directly. Can I cast to<br>> 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? :)</blockquote><div><br>--> Ok, you win. How about ioread8() or inb() also? Are they not coded in PPC correctly? Or is the in_8() more modern?
<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;">><br>> I apologize for the basic questions, but I expect this will be a final
<br>> question for quite some time.<br><br>No worries; ask away!</blockquote><div><br><br>--> 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 "reply to all" and put your<br>comments below what you're commenting on. 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. (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>