FreeBSD Bugzilla – Attachment 185557 Details for
Bug 221616
incorrect nvme driver init sequence
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to correct the NVMe driver init sequence
correct_init_sequence.diff (text/plain), 652 bytes, created by
Kinjal Patel
on 2017-08-18 21:00:21 UTC
(
hide
)
Description:
patch to correct the NVMe driver init sequence
Filename:
MIME Type:
Creator:
Kinjal Patel
Created:
2017-08-18 21:00:21 UTC
Size:
652 bytes
patch
obsolete
>Index: sys/dev/nvme/nvme.c >=================================================================== >--- sys/dev/nvme/nvme.c (revision 322672) >+++ sys/dev/nvme/nvme.c (working copy) >@@ -253,6 +253,9 @@ > return (status); > } > >+ /* make device busmaster before attempting to enable controller */ >+ pci_enable_busmaster(dev); >+ > /* > * Reset controller twice to ensure we do a transition from cc.en==1 > * to cc.en==0. This is because we don't really know what status >@@ -270,8 +273,6 @@ > return (status); > } > >- pci_enable_busmaster(dev); >- > ctrlr->config_hook.ich_func = nvme_ctrlr_start_config_hook; > ctrlr->config_hook.ich_arg = ctrlr; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 221616
: 185557