SysTutorials

Linux Manual Pages › Section 9

rio_find_mport(9)

rio_find_mport – find RIO mport by its ID

Synopsis

struct rio_mport *rio_find_mport(int mport_id);

Arguments

mport_id

number (ID) of mport device

Description

Given a RIO mport number, the desired mport is located in the global list of mports. If the mport is found, a pointer to its data structure is returned. If no mport is found, NULL is returned.

Author

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

Author.

Copyright