Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175173277
D60470.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
478 B
Referenced Files
None
Subscribers
None
D60470.diff
View Options
diff --git a/sys/dev/nvmf/controller/nvmft_controller.c b/sys/dev/nvmf/controller/nvmft_controller.c
--- a/sys/dev/nvmf/controller/nvmft_controller.c
+++ b/sys/dev/nvmf/controller/nvmft_controller.c
@@ -856,8 +856,10 @@
nvmft_printf(ctrlr, "reset requested\n");
ctrlr->shutdown = true;
*need_shutdown = true;
- } else
+ } else {
+ ctrlr->csts &= ~NVMEM(NVME_CSTS_REG_SHST);
ctrlr->csts |= NVMEF(NVME_CSTS_REG_RDY, 1);
+ }
}
mtx_unlock(&ctrlr->lock);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 9, 8:55 PM (2 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40491350
Default Alt Text
D60470.diff (478 B)
Attached To
Mode
D60470: nvmft: Clear CSTS.SHST when a controller is enabled
Attached
Detach File
Event Timeline
Log In to Comment