ATA_SCSI_FLUSH_XLAT

Section: libata SCSI translation/emulat (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

ata_scsi_flush_xlat - Translate SCSI SYNCHRONIZE CACHE command  

SYNOPSIS

unsigned int ata_scsi_flush_xlat(struct ata_queued_cmd * qc);
 

ARGUMENTS

qc

Storage for translated ATA taskfile
 

DESCRIPTION

Sets up an ATA taskfile to issue FLUSH CACHE or FLUSH CACHE EXT.  

LOCKING

spin_lock_irqsave(host lock)  

RETURNS

Zero on success, non-zero on error.  

AUTHOR

Jeff Garzik

Author.
 

COPYRIGHT