diff options
author | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-04-07 15:05:59 +0900 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-05-09 20:42:36 +0900 |
commit | 3af9ca4d341d2b8756fa9056ca0715915480e251 (patch) | |
tree | 140c2aa9703629c1c0904da3d37d194782aab549 /lib/crypto | |
parent | 168af4afd1fce013f677b224180a19e33bd7d40f (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