diff options
author | Damien Le Moal <[email protected]> | 2022-04-07 15:05:59 +0900 |
---|---|---|
committer | Damien Le Moal <[email protected]> | 2022-05-09 20:42:36 +0900 |
commit | 3af9ca4d341d2b8756fa9056ca0715915480e251 (patch) | |
tree | 140c2aa9703629c1c0904da3d37d194782aab549 /scripts/gdb/linux/utils.py | |
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 <[email protected]>
Reviewed-by: Sergey Shtylyov <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions