SysTutorials

Linux Manual Pages › Section 9

rio_device_has_destid(9)

rio_device_has_destid – Test if a device contains a destination ID register

Synopsis

int rio_device_has_destid(struct rio_mport *port, int src_ops, int dst_ops);

Arguments

port

Master port to issue transaction

src_ops

RIO device source operations

dst_ops

RIO device destination operations

Description

Checks the provided src_ops and dst_ops for the necessary transaction capabilities that indicate whether or not a device will implement a destination ID register. Returns 1 if true or 0 if false.

Author

Matt Porter <mporter [at] kernel.crashing.org>, <mporter [at] mvista.com>

Author.

Copyright