.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "EEH_CHECK_FAILURE" "9" "09 October 2005" "" "" .SH NAME eeh_check_failure \- check if all 1's data is due to EEH slot freeze .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp unsigned long eeh_check_failure (const volatile void __iomem * \fItoken\fB, unsigned long \fIval\fB); \fR .SH "ARGUMENTS" .TP \fB\fItoken\fB\fR -- undescribed -- .TP \fB\fIval\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP \fItoken\fR i/o token, should be address in the form 0xA.... \fIval\fR value, should be all 1's (XXX why do we need this arg??) .PP Check for an eeh failure at the given token address. Check for an EEH failure at the given token address. Call this routine if the result of a read was all 0xff's and you want to find out if this is due to an EEH slot freeze event. This routine will query firmware for the EEH status. .PP Note this routine is safe to call in an interrupt context.