summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorjimharris <jimharris@FreeBSD.org>2014-05-07 17:00:39 +0000
committerjimharris <jimharris@FreeBSD.org>2014-05-07 17:00:39 +0000
commit9063c980978470115f6e374116c092766d15f247 (patch)
tree99d302c09d6257b5c9cbd5d838bbc1d92f88866b /sys/dev
parent34268f6d136b44bdbfd77ad42e19e907ac6493fb (diff)
downloadFreeBSD-src-9063c980978470115f6e374116c092766d15f247.zip
FreeBSD-src-9063c980978470115f6e374116c092766d15f247.tar.gz
MFC r263277:
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.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/nvme/nvme_ctrlr.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/dev/nvme/nvme_ctrlr.c b/sys/dev/nvme/nvme_ctrlr.c
index 8acd645..2afd527 100644
--- a/sys/dev/nvme/nvme_ctrlr.c
+++ b/sys/dev/nvme/nvme_ctrlr.c
@@ -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
OpenPOWER on IntegriCloud