.\" 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_DN_CHECK_FAILURE" "9" "09 October 2005" "" ""
.SH NAME
eeh_dn_check_failure \- check if all 1's data is due to EEH slot freeze
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int eeh_dn_check_failure (struct device_node * \fIdn\fB, struct pci_dev * \fIdev\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdn\fB\fR
-- undescribed --
.TP
\fB\fIdev\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
\fIdn\fR device node
\fIdev\fR pci device, if known
.PP
Check for an EEH failure for the given device node. 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. This routine
will query firmware for the EEH status.
.PP
Returns 0 if there has not been an EEH error; otherwise returns
a non-zero value and queues up a solt isolation event notification.
.PP
It is safe to call this routine in an interrupt context.