]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ata: libata: Allow more quirks
authorNiklas Cassel <cassel@kernel.org>
Tue, 2 Dec 2025 12:21:36 +0000 (13:21 +0100)
committerDamien Le Moal <dlemoal@kernel.org>
Mon, 15 Dec 2025 07:32:05 +0000 (16:32 +0900)
commitf474c70065e14bac928716100eebfcfb15e1a725
tree069e7213c13a1e077e0e85e3a3ab6a7b8a7971e1
parentad50d922f4857ca58dbda172d5d6356ab53e7845
ata: libata: Allow more quirks

We have currently used up 30 out of the 32-bits in the struct ata_device
struct member quirks. Thus, it is only possible to add two more quirks.

Change the struct ata_device struct member quirks from an unsigned int to
an u64.

Doing this core level change now, will make it easier for us now, as we
will not need to also do core level changes once the final two bits are
used as well.

Signed-off-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
drivers/ata/libata-core.c
include/linux/libata.h