<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 10, 2016 at 6:42 PM, Chris Johns <span dir="ltr"><<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 10/03/2016 09:25, Joel Sherrill wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This was used to open, write, and close the VGA console and<br>
/dev/pcicom1 for testing purposes.<br>
</blockquote>
<br>
Does this do the same thing?<br>
<br>
[/] # dd if=text.txt of=/dev/pcicom1<span class="HOEnZb"><font color="#888888"><br>
<br></font></span></blockquote><div><br></div><div>I didn't mean to submit this. It was a test command so I could very </div><div>explicitly control calling open(), write(), and close(). I had debug</div><div>printk's turned on to see the register accesses for each.</div><div><br></div><div>That functionally does the same operations if you had a set of small files</div><div>but you wouldn't see a break between open(), write() and close().</div><div><br></div><div>I don't know if it is worth being in the tree or not. It was a quickly</div><div>thrown together utility for testing. If it has value, then we can rename</div><div>it and add some requirements.</div><div><br></div><div>My lspci command is similar. If we get every BSP to standard PCI</div><div>support, it might be useful but until then, it is just a test utility.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
Chris<br>
</font></span></blockquote></div><br></div></div>