RE: [PATCH 2/7] RapidIO: Add switch locking during discovery

2010-02-25 Thread Bounine, Alexandre
Micha Nelissen wrote: > > Alexandre Bounine wrote: > > + /* Attempt to acquire device lock */ > > + rio_mport_write_config_32(port, destid, > > + hopcount, > > + RIO_HOST_DID_LOCK_CSR, > > + por

Re: [PATCH 2/7] RapidIO: Add switch locking during discovery

2010-02-25 Thread Micha Nelissen
Bounine, Alexandre wrote: Micha Nelissen wrote: Alexandre Bounine wrote: + mport->host_deviceid = RIO_GET_DID(mport->sys_size, This fixes something else, should be a separate patch. This sets an ID used for locking during discovery. On a startup only enumerator's ID is set to t

Re: [PATCH 2/7] RapidIO: Add switch locking during discovery

2010-02-24 Thread Micha Nelissen
Alexandre Bounine wrote: + /* Attempt to acquire device lock */ + rio_mport_write_config_32(port, destid, + hopcount, + RIO_H