Name

ata_scsi_flush_xlat — Translate SCSI SYNCHRONIZE CACHE command

Synopsis

unsigned int ata_scsi_flush_xlat (struct ata_queued_cmd * qc, const u8 * scsicmd);

Arguments

qc

Storage for translated ATA taskfile

scsicmd

SCSI command to translate (ignored)

Description

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

LOCKING

spin_lock_irqsave(host_set lock)

RETURNS

Zero on success, non-zero on error.