Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F143913826
D32659.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
482 B
Referenced Files
None
Subscribers
None
D32659.diff
View Options
diff --git a/usr.sbin/bhyve/pci_nvme.c b/usr.sbin/bhyve/pci_nvme.c
--- a/usr.sbin/bhyve/pci_nvme.c
+++ b/usr.sbin/bhyve/pci_nvme.c
@@ -546,7 +546,7 @@
cd->aerl = 4;
/* Advertise 1, Read-only firmware slot */
- cd->frmw = NVME_CTRLR_DATA_FRMW_SLOT1_RO_MASK |
+ cd->frmw = NVMEB(NVME_CTRLR_DATA_FRMW_SLOT1_RO) |
(1 << NVME_CTRLR_DATA_FRMW_NUM_SLOTS_SHIFT);
cd->lpa = 0; /* TODO: support some simple things like SMART */
cd->elpe = 0; /* max error log page entries */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 2, 9:56 PM (12 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28413887
Default Alt Text
D32659.diff (482 B)
Attached To
Mode
D32659: bhyve: fix incorrect Slot1 Read Only setting in NVMe controller.
Attached
Detach File
Event Timeline
Log In to Comment