Bastiaan Nijkamp wrote:
=A0
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=A0been =
assigned 0x1 as ID.
How the host ID is set on your host board?
Normally rio_enum_host() should increment next_destid in your case.=20
Another thing is that the agent is now hanging on the discovery =
process.
Make sure that you have the MASTER bit is set in agent's GCCSR register =
(0xC_013C).
If your board uses HW config switches to set host/agent mode this bit =
will be 0 for agent.
For quick test you may keep both boards in the host mode - the current =
RIO implementation relies on "riohdid=3D" command line parameter instead =
of HOST bit.
Alex.
=20
=A0