block/nvme: Group controller registers in NVMeRegs structure
commit0ea32f34ce08e10c3d715cfa1427a23fb7989196
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 4 Sep 2020 12:41:28 +0000 (4 14:41 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 10 Sep 2020 09:11:12 +0000 (10 11:11 +0200)
tree93ec890513a9718159be8836ae2bf473d626fff9
parent3b079ac0ffc8e1d9e6528b6e258e7e0d494d9aa0
block/nvme: Group controller registers in NVMeRegs structure

We want to use the NvmeBar structure from "block/nvme.h" in the
next commit. As a preliminary step, group all the NVMe controller
registers in the 'ctrl' field, keeping the doorbells registers
out of it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200904124130.583838-2-philmd@redhat.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Fam Zheng <fam@euphon.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/nvme.c