]> www.infradead.org Git - nvme.git/commit
nvme: Cleanup the definition of the controller config register fields
authorDamien Le Moal <dlemoal@kernel.org>
Thu, 13 Feb 2025 06:49:59 +0000 (15:49 +0900)
committerKeith Busch <kbusch@kernel.org>
Tue, 18 Feb 2025 15:39:42 +0000 (07:39 -0800)
commitd422247d14a53fe825b1778edf104167d8fd8f3f
treef31f3d5aa4fb9e3ebe88a2dabf6d6612ecd9be1c
parent487a3ea7b1b8ba2ca7d2c2bb3c3594dc360d6261
nvme: Cleanup the definition of the controller config register fields

Reorganized the enum used to define the fields of the contrller
configuration (CC) register in include/linux/nvme.h to:
1) Group together all the values defined for each field.
2) Add the missing field masks definitions.
3) Add comments to describe the enum and each field.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
include/linux/nvme.h