Yep now it's working. Thanks for the fix Ron!<br><br>Regards,<br><br>René<br><br><div class="gmail_quote">2009/6/9 Stefan Reinauer <span dir="ltr"><<a href="mailto:stepan@coresystems.de">stepan@coresystems.de</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


  

<div bgcolor="#ffffff" text="#000000"><div><div></div><div class="h5">
On 09.06.2009 13:11 Uhr, ron minnich wrote:
<blockquote type="cite">
  <pre>On Mon, Jun 8, 2009 at 11:29 PM, Stefan Reinauer<a href="mailto:stepan@coresystems.de" target="_blank"><stepan@coresystems.de></a> wrote:


  </pre>
  <blockquote type="cite">
    <pre>I hope we find out why this is a problem, because a combination of cli+sti
should never cause an interrupt that would not exist without cli+sti. If we
can't I suggest we commit this in a few days (Acked-by: Stefan Reinauer
<a href="mailto:stepan@coresystems.de" target="_blank"><stepan@coresystems.de></a>) since it fixes the problem.
    </pre>
  </blockquote>
  <pre>I'm going to commit it. The reason is that we should never do an sti
unless we are prepared to take a device interrupt, and we are not. I
think it is an error to do an sti at this point. Also, just doing a
cli/sti without determining that interrupts were enabled in the first
place is also a mistake.
  </pre>
</blockquote>
<br></div></div>
I agree. Sorry for the premature action of me adding cli/sti to my
original code submission. I only tested on real hardware (three boards,
all with the same chipset)... This is a good example how complex
interactions between components for seemingly trivial code can be. <br><font color="#888888">
<br>
 <br>
Stefan</font><div class="im"><br>
<br>
<br>
<pre cols="72">-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: <a href="mailto:info@coresystems.de" target="_blank">info@coresystems.de</a>  • <a href="http://www.coresystems.de/" target="_blank">http://www.coresystems.de/</a>
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866
</pre>
</div></div>

</blockquote></div><br>