---
name: "rio_clr_err_stopped"
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_clr_err_stopped"
---

# rio\_clr\_err\_stopped(9)

Clears port Error-stopped states.

## NAME

rio\_clr\_err\_stopped - Clears port Error-stopped states.

## SYNOPSIS

**int rio\_clr\_err\_stopped(struct rio\_dev \*** *rdev***, u32** *pnum***, u32** *err\_status***);**

## ARGUMENTS

*rdev*

Pointer to RIO device control structure

*pnum*

Switch port number to clear errors

*err\_status*

port error status (if 0 reads register from device)

## DESCRIPTION

TODO: Currently this routine is not compatible with recovery process specified for idt\_gen3 RapidIO switch devices. It has to be reviewed to implement universal recovery process that is compatible full range off available devices. IDT gen3 switch driver now implements HW-specific error handler that issues soft port reset to the port to reset ERR\_STOP bits and ackIDs.

## AUTHOR

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

Author.

## COPYRIGHT
