---
name: "rio_local_get_device_id"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/rio_local_get_device_id"
---

# rio\_local\_get\_device\_id(9)

Get the base/extended device id for a port

## NAME

rio\_local\_get\_device\_id - Get the base/extended device id for a port

## SYNOPSIS

**u16 rio\_local\_get\_device\_id(struct rio\_mport \*** *port***);**

## ARGUMENTS

*port*

RIO master port from which to get the deviceid

## DESCRIPTION

Reads the base/extended device id from the local device implementing the master port. Returns the 8/16-bit device id.

## AUTHOR

**Matt Porter** \<mporter@kernel.crashing.org\>, \<mporter@mvista.com\>

Author.

## COPYRIGHT
