diff options
| author | Niklas Cassel <cassel@kernel.org> | 2025-12-02 15:21:31 +0300 |
|---|---|---|
| committer | Damien Le Moal <dlemoal@kernel.org> | 2025-12-15 10:32:05 +0300 |
| commit | 59b7bb3d48333889adb1dd2aac3ab0cf26714390 (patch) | |
| tree | 00e6539dde00004125d3e2369c91285b884aca80 /include/linux/console_struct.h | |
| parent | 151cabd140322205e27dae5c4bbf261ede0056e3 (diff) | |
| download | linux-59b7bb3d48333889adb1dd2aac3ab0cf26714390.tar.xz | |
ata: libata: Add ATA_QUIRK_MAX_SEC and convert all device quirks
Add a new quirk ATA_QUIRK_MAX_SEC, which has a separate table with device
specific values.
Convert all existing ATA_QUIRK_MAX_SEC_XXX device quirks in
__ata_dev_quirks to the new format.
Quirks ATA_QUIRK_MAX_SEC_128 and ATA_QUIRK_MAX_SEC_1024 cannot be removed
yet, since they are also used by libata.force, which functionally, is a
separate user of the quirks. The quirks will be removed once all users
have been converted to use the new format.
The quirk ATA_QUIRK_MAX_SEC_8191 can be removed since it has no equivalent
libata.force parameter.
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions
