> <meta http-equiv="content-type" content="text/html; charset=utf-8">How the host ID is set on your host board?<br>Normally rio_enum_host() should increment next_destid in your case.<div><br></div><div>The hostID is set to 0x0 with the riohdid parameter as boot argument. <br>

<div><br></div><div>> Make sure that you have the MASTER bit is set in agent's GCCSR register (0xC_013C).</div>If your board uses HW config switches to set host/agent mode this bit will be 0 for agent.<br>For quick test you may keep both boards in the host mode - the current RIO implementation relies on "riohdid=" command line parameter instead of HOST bit.</div>

<div><br></div><div>This seems to have done the trick :-) However, i wonder, doesn't it make more sense to make the driver check this setting and correcting it or giving an error instead of entering a endless loop? </div>

<div><br></div><div>Thank you for helping out, it is very much appreciated. </div><div><br></div><div>Bastiaan.<br><div><br><br><div class="gmail_quote">2010/10/13 Bounine, Alexandre <span dir="ltr"><<a href="mailto:Alexandre.Bounine@idt.com">Alexandre.Bounine@idt.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">Bastiaan Nijkamp wrote:<br>
 <br>
>Has the driver ever been tested/used without a switch attached? Because when the host >(which has ID 0x0) enumerates the other board it also assigns ID 0x0 to the agent, it seems >that the agent should have been assigned 0x1 as ID.<br>


<br>
</div>How the host ID is set on your host board?<br>
Normally rio_enum_host() should increment next_destid in your case.<br>
<div class="im"><br>
>Another thing is that the agent is now hanging on the discovery process.<br>
<br>
</div>Make sure that you have the MASTER bit is set in agent's GCCSR register (0xC_013C).<br>
If your board uses HW config switches to set host/agent mode this bit will be 0 for agent.<br>
For quick test you may keep both boards in the host mode - the current RIO implementation relies on "riohdid=" command line parameter instead of HOST bit.<br>
<br>
<br>
Alex.<br>
<br>
 <br>
</blockquote></div><br></div></div>