diff options
author | Hannes Reinecke <hare@suse.de> | 2016-04-04 11:44:03 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-04-04 12:07:41 -0400 |
commit | 06dbde5f3a44248fc02e24d662ac4849202abb48 (patch) | |
tree | 5440a9c3181be96f16b1b6b5fb3fe09928ba9517 /include/linux/libata.h | |
parent | 11093cb1ef56147fe33f5750b1eab347bdef30db (diff) | |
download | linux-stable-06dbde5f3a44248fc02e24d662ac4849202abb48.tar.gz linux-stable-06dbde5f3a44248fc02e24d662ac4849202abb48.tar.bz2 linux-stable-06dbde5f3a44248fc02e24d662ac4849202abb48.zip |
libata: Implement control mode page to select sense format
Implement MODE SELECT for the control mode page to allow the OS
to switch to descriptor sense.
tj: Dropped s/sb/cmd->sense_buffer/ in ata_gen_ata_sense(). Added
@dev description to ata_msense_ctl_mode().
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 2c4ebef79d0c..a418bca0df0d 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -180,6 +180,7 @@ enum { ATA_DFLAG_DA = (1 << 26), /* device supports Device Attention */ ATA_DFLAG_DEVSLP = (1 << 27), /* device supports Device Sleep */ ATA_DFLAG_ACPI_DISABLED = (1 << 28), /* ACPI for the device is disabled */ + ATA_DFLAG_D_SENSE = (1 << 29), /* Descriptor sense requested */ ATA_DEV_UNKNOWN = 0, /* unknown device */ ATA_DEV_ATA = 1, /* ATA device */ |