mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
nvme: Remove the software progress marker SET_FEATURE command during
controller initialization. The spec says OS drivers should send this command after controller initialization completes successfully, but other NVMe OS drivers are not sending this command. This change will therefore reduce differences between the FreeBSD and other OS drivers. Sponsored by: Intel MFC after: 3 days
This commit is contained in:
parent
5d16b89793
commit
2b26030cbc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=263277
@ -842,16 +842,6 @@ nvme_ctrlr_start(void *ctrlr_arg)
|
||||
|
||||
for (i = 0; i < ctrlr->num_io_queues; i++)
|
||||
nvme_io_qpair_enable(&ctrlr->ioq[i]);
|
||||
|
||||
/*
|
||||
* Clear software progress marker to 0, to indicate to pre-boot
|
||||
* software that OS driver load was successful.
|
||||
*
|
||||
* Chatham does not support this feature.
|
||||
*/
|
||||
if (pci_get_devid(ctrlr->dev) != CHATHAM_PCI_ID)
|
||||
nvme_ctrlr_cmd_set_feature(ctrlr,
|
||||
NVME_FEAT_SOFTWARE_PROGRESS_MARKER, 0, NULL, 0, NULL, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user