ata_to_sense_error man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

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 3.11	 November 2013		 ATA_TO_SENSE_ERROR(9)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net