HomeFreeBSD

bhyve nvme: Fix firmware read only initialization

Description

bhyve nvme: Fix firmware read only initialization

Summary:
Code was using the mask value without the shift.

Test Plan: Within FreeBSD/Linux guest, Identify NVMe controller to check the result.

Reviewed by: chuck, imp
MFC after: 2 weeks
Signed-off-by: Wanpeng Qian <wanpengqian@gmail.com>
Differential Revision: https://reviews.freebsd.org/D32659

Details

Provenance
wanpengqian_gmail.comAuthored on Aug 14 2022, 3:30 PM
chuckCommitted on Aug 14 2022, 4:59 PM
Reviewer
chuck
Differential Revision
D32659: bhyve: fix incorrect Slot1 Read Only setting in NVMe controller.
Parents
rG3cae10048d27: bhyve nvme: Fix Active Firmware Info
Branches
Unknown
Tags
Unknown