.\" 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_DEVCHK" "9" "09 October 2005" "" "" .SH NAME ata_devchk \- PATA device presence detection .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp unsigned int ata_devchk (struct ata_port * \fIap\fB, unsigned int \fIdevice\fB); \fR .SH "ARGUMENTS" .TP \fB\fIap\fB\fR ATA channel to examine .TP \fB\fIdevice\fB\fR Device to examine (starting at zero) .SH "DESCRIPTION" .PP Dispatch ATA device presence detection, depending on whether we are using PIO or MMIO to talk to the ATA shadow registers. .SH "LOCKING" .PP caller.