.\" 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 "E100_SELFTEST" "" "06 October 2005" "" "" .SH NAME e100_selftest \- perform H/W self test .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp unsigned char e100_selftest (struct e100_private * \fIbdp\fB, u32 * \fIst_timeout\fB, u32 * \fIst_result\fB); \fR .SH "ARGUMENTS" .TP \fB\fIbdp\fB\fR atapter's private data struct .TP \fB\fIst_timeout\fB\fR address to return timeout value, if fails .TP \fB\fIst_result\fB\fR address to return selftest result, if fails .SH "DESCRIPTION" .PP This routine will issue PORT Self-test command to test the e100. The self-test will fail if the adapter's master-enable bit is not set in the PCI Command Register, or if the adapter is not seated in a PCI master-enabled slot. we also disable interrupts when the command is completed. .SH "TRUE" .PP if adapter passes self_test .SH "FALSE" .PP otherwise