.\" 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 "ATA_BUSY_SLEEP" "9" "09 October 2005" "" "" .SH NAME ata_busy_sleep \- sleep until BSY clears, or timeout .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp unsigned int ata_busy_sleep (struct ata_port * \fIap\fB, unsigned long \fItmout_pat\fB, unsigned long \fItmout\fB); \fR .SH "ARGUMENTS" .TP \fB\fIap\fB\fR port containing status register to be polled .TP \fB\fItmout_pat\fB\fR impatience timeout .TP \fB\fItmout\fB\fR overall timeout .SH "DESCRIPTION" .PP Sleep until ATA Status register bit BSY clears, or a timeout occurs. .SH "LOCKING" .PP None.