ata: ATA Command Priority Disabled By Default
authorAdam Manzanares <adam.manzanares@hgst.com>
Mon, 17 Oct 2016 18:27:30 +0000 (11:27 -0700)
committerTejun Heo <tj@kernel.org>
Wed, 19 Oct 2016 18:34:36 +0000 (14:34 -0400)
commit84f95243b5439a20c33837075b88926bfa00c4ec
treec1a795666af16d26984bdfda3cfaef4dfc659c93
parent8e061784b51ec4a4efed0deaafb5bd9725bf5b06
ata: ATA Command Priority Disabled By Default

Add a sysfs entry to turn on priority information being passed
to a ATA device. By default this feature is turned off.

This patch depends on ata: Enabling ATA Command Priorities

tj: Renamed ncq_prio_on to ncq_prio_enable and removed trivial
    ata_ncq_prio_on() and open-coded the test.

Signed-off-by: Adam Manzanares <adam.manzanares@hgst.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libahci.c
drivers/ata/libata-core.c
drivers/ata/libata-scsi.c
include/linux/libata.h