rio_lock_device(9)

rio_lock_device9

Acquires host device lock for specified device

Usage

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

Arguments

port

Master port to send transaction

destid

Destination ID for device/switch

hopcount

Hopcount to reach switch

wait_ms

Max wait time in msec (0 = no timeout)

Overview

Attepts to acquire host device lock for specified device Returns 0 if device lock acquired or EINVAL if timeout expires.

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

Author

Matt Porter <[email protected]>, <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.