---
name: "ata_mselect_control"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ata_mselect_control"
---

# ata\_mselect\_control(9)

Simulate MODE SELECT for control page

## NAME

ata\_mselect\_control - Simulate MODE SELECT for control page

## SYNOPSIS

**int ata\_mselect\_control(struct ata\_queued\_cmd \*** *qc***, const u8 \*** *buf***, int** *len***, u16 \*** *fp***);**

## ARGUMENTS

*qc*

Storage for translated ATA taskfile

*buf*

input buffer

*len*

number of valid bytes in the input buffer

*fp*

out parameter for the failed field on error

## DESCRIPTION

Prepare a taskfile to modify caching information for the device.

LOCKING: None.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
