.\" 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_TO_SENSE_ERROR" "9" "09 October 2005" "" "" .SH NAME ata_to_sense_error \- convert ATA error to SCSI error .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void ata_to_sense_error (struct ata_queued_cmd * \fIqc\fB, u8 \fIdrv_stat\fB); \fR .SH "ARGUMENTS" .TP \fB\fIqc\fB\fR Command that we are erroring out .TP \fB\fIdrv_stat\fB\fR value contained in ATA status register .SH "DESCRIPTION" .PP Converts an ATA error into a SCSI error. While we are at it we decode and dump the ATA error for the user so that they have some idea what really happened at the non make-believe layer. .SH "LOCKING" .PP spin_lock_irqsave(host_set lock)