summaryrefslogtreecommitdiff
path: root/lib/crypto
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-04-07 15:05:59 +0900
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-05-09 20:42:36 +0900
commit3af9ca4d341d2b8756fa9056ca0715915480e251 (patch)
tree140c2aa9703629c1c0904da3d37d194782aab549 /lib/crypto
parent168af4afd1fce013f677b224180a19e33bd7d40f (diff)
ata: libata-core: Improve link flags forced settings
Similarly to the horkage flags, introduce the force_lflag_onoff() macro to define struct ata_force_param entries of the force_tbl array that allow turning on or off a link flag using the libata.force boot parameter. To be consistent with naming, the macro force_lflag() is renamed to force_lflag_on(). Using force_lflag_onoff(), define a new force_tbl entry for the ATA_LFLAG_NO_DEBOUNCE_DELAY link flag, thus allowing testing if an adapter requires a link debounce delay or not. Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'lib/crypto')
0 files changed, 0 insertions, 0 deletions