summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNiklas Cassel <niklas.cassel@wdc.com>2022-08-16 13:53:28 +0200
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-08-18 01:40:42 +0900
commit99ad3f9f829fafdcd606a8b1123e331b3b53eb04 (patch)
treeae2f7359de72bf20ad7d545287c1e5c3200484c0 /tools/perf/scripts/python/exported-sql-viewer.py
parent16169fb781827b82a4c0261195184dcc97a57af7 (diff)
ata: libata-core: improve parameter names for ata_dev_set_feature()
ata_dev_set_feature() is currently used for enabling/disabling any ATA feature, e.g. SETFEATURES_SPINUP and SETFEATURE_SENSE_DATA, i.e. it is not only used to enable/disable SATA specific features. For most features, the enable/disable bit is specified in the subcommand specific field "count". It is only for the specific subcommands "Enable SATA feature" (0x10) and "Disable SATA feature" (0x90) where the field "count" is used to specify a feature instead of enable/disable. The parameter names for this function are thus quite misleading. Rename the parameter names to be more generic and in line with ACS-5, and remove the references to "SATA FEATURES" in the kernel-doc. Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions