.\" 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 "NCR5380_poll_politely" "" "06 October 2005" "" "" .SH NAME NCR5380_poll_politely \- wait for NCR5380 status bits .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int NCR5380_poll_politely (struct Scsi_Host * \fIinstance\fB, int \fIreg\fB, int \fIbit\fB, int \fIval\fB, int \fIt\fB); \fR .SH "ARGUMENTS" .TP \fB\fIinstance\fB\fR controller to poll .TP \fB\fIreg\fB\fR 5380 register to poll .TP \fB\fIbit\fB\fR Bitmask to check .TP \fB\fIval\fB\fR Value required to exit .TP \fB\fIt\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP Polls the NCR5380 in a reasonably efficient manner waiting for an event to occur, after a short quick poll we begin giving the CPU back in non IRQ contexts .PP Returns the value of the register or a negative error code.