---
name: "rio_set_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_set_device_id"
---

# rio\_set\_device\_id(9)

Set the base/extended device id for a device

## NAME

rio\_set\_device\_id - Set the base/extended device id for a device

## SYNOPSIS

**void rio\_set\_device\_id(struct rio\_mport \*** *port***, u16** *destid***, u8** *hopcount***, u16** *did***);**

## ARGUMENTS

*port*

RIO master port

*destid*

Destination ID of device

*hopcount*

Hopcount to device

*did*

Device ID value to be written

## DESCRIPTION

Writes the base/extended device id from a device.

## AUTHOR

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

Author.

## COPYRIGHT
