diff options
| author | Bartlomiej Zolnierkiewicz <[email protected]> | 2020-03-26 16:57:57 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-03-26 10:28:17 -0600 |
| commit | 6f09eae3b5d974ef845e56690d6bc2b8f2a70acd (patch) | |
| tree | 3553276b9a684d63460d1b9f2ac511f0de1de42d /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | 3e1ee734ab3723df2227d570dbe5d9f14b13985c (diff) | |
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 <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions