diff options
author | Adam Manzanares <adam.manzanares@hgst.com> | 2016-10-17 21:27:30 +0300 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-10-19 21:34:36 +0300 |
commit | 84f95243b5439a20c33837075b88926bfa00c4ec (patch) | |
tree | c1a795666af16d26984bdfda3cfaef4dfc659c93 /drivers/ata/libahci.c | |
parent | 8e061784b51ec4a4efed0deaafb5bd9725bf5b06 (diff) |
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>
Diffstat (limited to 'drivers/ata/libahci.c')
-rw-r--r-- | drivers/ata/libahci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index 0d028ead99e8..ee7db3119b18 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c @@ -140,6 +140,7 @@ EXPORT_SYMBOL_GPL(ahci_shost_attrs); struct device_attribute *ahci_sdev_attrs[] = { &dev_attr_sw_activity, &dev_attr_unload_heads, + &dev_attr_ncq_prio_enable, NULL }; EXPORT_SYMBOL_GPL(ahci_sdev_attrs); |