ATA_TO_SENSE_ERROR

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

ata_to_sense_error - convert ATA error to SCSI error  

SYNOPSIS

"SYNOPSIS"

void ata_to_sense_error (struct ata_queued_cmd * qc, u8 drv_stat);  

ARGUMENTS

qc
Command that we are erroring out
drv_stat
value contained in ATA status register
 

DESCRIPTION

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.  

LOCKING

spin_lock_irqsave(host_set lock)


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
LOCKING

This document was created by man2html, using the manual pages.
Time: 00:01:57 GMT, October 09, 2005