Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175198034
D60471.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
496 B
Referenced Files
None
Subscribers
None
D60471.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,7 +856,8 @@
nvmft_printf(ctrlr, "reset requested\n");
ctrlr->shutdown = true;
*need_shutdown = true;
- } else {
+ } else if (!ctrlr->shutdown) {
+ /* Controller enable. */
ctrlr->csts &= ~NVMEM(NVME_CSTS_REG_SHST);
ctrlr->csts |= NVMEF(NVME_CSTS_REG_RDY, 1);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 10, 1:04 AM (6 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40491351
Default Alt Text
D60471.diff (496 B)
Attached To
Mode
D60471: nvmft: Ignore CC.EN=1 when initiating a shutdown
Attached
Detach File
Event Timeline
Log In to Comment