suse man page for ata_to_sense_error

Query: ata_to_sense_error

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ATA_TO_SENSE_ERROR(9)					  libata SCSI translation/emulat				     ATA_TO_SENSE_ERROR(9)

NAME
ata_to_sense_error - convert ATA error to SCSI error
SYNOPSIS
void ata_to_sense_error(unsigned id, u8 drv_stat, u8 drv_err, u8 * sk, u8 * asc, u8 * ascq, int verbose);
ARGUMENTS
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 verbose be verbose
DESCRIPTION
Converts an ATA error into a SCSI error. Fill out pointers to SK, ASC, and ASCQ bytes for later use in fixed or descriptor format sense blocks.
LOCKING
spin_lock_irqsave(host lock)
AUTHOR
Jeff Garzik Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 ATA_TO_SENSE_ERROR(9)
Related Man Pages
sg_sat_identify(8) - debian
sg_sat_identify(8) - suse
scsi_sense_asc(9f) - opensolaris
scsi_sense_ascq(9f) - opensolaris
scsi_validate_sense(9f) - opensolaris
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Cut command on RHEL 6.8 compatibility issues
Update kernel Linux without reboot?!
SOCKS proxy & PAM configuration exposure
32 bit process addressing more than 4GB