ata_to_sense_error — convert ATA error to SCSI error
void ata_to_sense_error (
unsigned id, u8 drv_stat, u8 drv_err, u8 * sk, u8 * asc, u8 * ascq)
;
id
ATA device number
drv_stat
value contained in ATA status register
drv_err
value contained in ATA error register
sk
the sense key we'll fill out
asc
the additional sense code we'll fill out
ascq
the additional sense code qualifier we'll fill out