bhyve nvme: Fix reported VWC value
v1.4 and later NVMe Controllers report "Flush all Namespaces" support differently. Fixes UNH IOL 16.0 Test 2.6, Case 3 Reviewed by: imp, allanjude Tested by: jason@tubnor.net MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D33576
This commit is contained in:
parent
9d8cd04694
commit
ff5ed0fac4
@ -561,6 +561,8 @@ pci_nvme_init_ctrldata(struct pci_nvme_softc *sc)
|
||||
cd->fna = NVME_CTRLR_DATA_FNA_FORMAT_ALL_MASK <<
|
||||
NVME_CTRLR_DATA_FNA_FORMAT_ALL_SHIFT;
|
||||
|
||||
cd->vwc = NVME_CTRLR_DATA_VWC_ALL_NO << NVME_CTRLR_DATA_VWC_ALL_SHIFT;
|
||||
|
||||
cd->power_state[0].mp = 10;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user