diff options
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2020-03-26 16:57:57 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-03-26 10:28:17 -0600 |
commit | 6f09eae3b5d974ef845e56690d6bc2b8f2a70acd (patch) | |
tree | 3553276b9a684d63460d1b9f2ac511f0de1de42d /drivers/ata/Kconfig | |
parent | 3e1ee734ab3723df2227d570dbe5d9f14b13985c (diff) | |
download | lwn-6f09eae3b5d974ef845e56690d6bc2b8f2a70acd.tar.gz lwn-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 'drivers/ata/Kconfig')
0 files changed, 0 insertions, 0 deletions