Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F166217943
D32659.id104310.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
517 B
Referenced Files
None
Subscribers
None
D32659.id104310.diff
View Options
Index: usr.sbin/bhyve/pci_nvme.c
===================================================================
--- usr.sbin/bhyve/pci_nvme.c
+++ usr.sbin/bhyve/pci_nvme.c
@@ -545,7 +545,7 @@
cd->aerl = 4;
/* Advertise 1, Read-only firmware slot */
- cd->frmw = NVME_CTRLR_DATA_FRMW_SLOT1_RO_MASK |
+ cd->frmw = (1 << NVME_CTRLR_DATA_FRMW_SLOT1_RO_SHIFT) |
(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
Thu, Aug 13, 10:52 AM (8 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36625595
Default Alt Text
D32659.id104310.diff (517 B)
Attached To
Mode
D32659: bhyve: fix incorrect Slot1 Read Only setting in NVMe controller.
Attached
Detach File
Event Timeline
Log In to Comment