rio_clr_err_stopped (9) - Linux Man Pages
rio_clr_err_stopped: Clears port Error-stopped states.
rio_clr_err_stopped - Clears port Error-stopped states.
int rio_clr_err_stopped(struct rio_dev
*rdev, u32 pnum, u32 err_status);
- Pointer to RIO device control structure
- Switch port number to clear errors
- port error status (if 0 reads register from device)
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.
Matt Porter <mporter [at] kernel.crashing.org>, <mporter [at] mvista.com>