Name

rio_unlock_device — Releases host device lock for specified device

Synopsis

int rio_unlock_device (struct rio_mport * port,
 u16 destid,
 u8 hopcount);
 

Arguments

struct rio_mport * port

Master port to send transaction

u16 destid

Destination ID for device/switch

u8 hopcount

Hopcount to reach switch

Description

Returns 0 if device lock released or EINVAL if fails.