libata: Implement control mode page to select sense format
authorHannes Reinecke <hare@suse.de>
Mon, 4 Apr 2016 09:44:03 +0000 (11:44 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 4 Apr 2016 16:07:41 +0000 (12:07 -0400)
commit06dbde5f3a44248fc02e24d662ac4849202abb48
tree5440a9c3181be96f16b1b6b5fb3fe09928ba9517
parent11093cb1ef56147fe33f5750b1eab347bdef30db
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>
drivers/ata/libata-eh.c
drivers/ata/libata-scsi.c
drivers/ata/libata.h
include/linux/libata.h