'\" t .\" Title: rio_clr_err_stopped .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: Internals .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "RIO_CLR_ERR_STOPPED" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "Internals" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" rio_clr_err_stopped \- Clears port Error\-stopped states\&. .SH "SYNOPSIS" .HP \w'int\ rio_clr_err_stopped('u .BI "int rio_clr_err_stopped(struct\ rio_dev\ *\ " "rdev" ", u32\ " "pnum" ", u32\ " "err_status" ");" .SH "ARGUMENTS" .PP \fIstruct rio_dev * rdev\fR .RS 4 Pointer to RIO device control structure .RE .PP \fIu32 pnum\fR .RS 4 Switch port number to clear errors .RE .PP \fIu32 err_status\fR .RS 4 port error status (if 0 reads register from device) .RE .SH "DESCRIPTION" .PP 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\&. .SH "AUTHOR" .PP \fBMatt Porter\fR <\&mporter@kernel.crashing.org\&>, <\&mporter@mvista.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br