ata_scsi_mode_select_xlat
Prev | Chapter 6. libata SCSI translation/emulation | Next

## Name

ata_scsi_mode_select_xlat — Simulate MODE SELECT 6, 10 commands

## Synopsis

`unsigned int ata_scsi_mode_select_xlat (` | struct ata_queued_cmd * qc`)`;

## Arguments

`qc`

  Storage for translated ATA taskfile

## Description

Converts a MODE SELECT command to an ATA SET FEATURES taskfile. Assume this is invoked for direct access devices (e.g. disks) only. There should be no block descriptor for other device types.

## LOCKING

spin_lock_irqsave(host lock)

Prev | Up | Next
ata_mselect_caching | Home | ata_get_xlat_func