diff options
author | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-10-27 07:07:55 +0300 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2023-01-14 01:32:42 +0300 |
commit | fa5bde139ee43ab91087c01e690c61aec957c339 (patch) | |
tree | 4e881b26842270c0e2c10c169bf0bd047f7349d1 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b4a6bb3a67aa0c37b2b6cd47efc326eb455de674 (diff) | |
download | linux-fa5bde139ee43ab91087c01e690c61aec957c339.tar.xz |
ata: libata: Introduce ata_ncq_supported()
Introduce the inline helper function ata_ncq_supported() to test if a
device supports NCQ commands. The function ata_ncq_enabled() is also
rewritten using this new helper function.
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Niklas Cassel <niklas.cassel@wdc.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions