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 the specified value. All discovering agents
Ah I see. Isn't it a bit ugly to have "host_deviceid" being the device's
own destid?
I have removed mport->host_deviceid, and added rdev_host and rdev_self
to rio_net. I also added code to create a rio device for the "self"
instance; then the locking would always use net->rdev_self->destid.
Micha
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev