diff options
author | 2020-03-26 16:57:57 +0100 | |
---|---|---|
committer | 2020-03-26 10:28:17 -0600 | |
commit | 6f09eae3b5d974ef845e56690d6bc2b8f2a70acd (patch) | |
tree | 3553276b9a684d63460d1b9f2ac511f0de1de42d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ata: remove stale maintainership information from core code (diff) | |
download | wireguard-linux-6f09eae3b5d974ef845e56690d6bc2b8f2a70acd.tar.xz wireguard-linux-6f09eae3b5d974ef845e56690d6bc2b8f2a70acd.zip |
ata: expose ncq_enable_prio sysfs attribute only on NCQ capable hosts
There is no point in exposing ncq_enable_prio sysfs attribute for
devices on PATA and non-NCQ capable SATA hosts so:
* remove dev_attr_ncq_prio_enable from ata_common_sdev_attrs[]
* add ata_ncq_sdev_attrs[]
* update ATA_NCQ_SHT() macro to use ata_ncq_sdev_attrs[]
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions