提交 f64d3365 编写于 作者: M Matthew Wilcox

NVMe: Enable device DMA

Need to call pci_set_master() to enable device DMA
Signed-off-by: NMatthew Wilcox <matthew.r.wilcox@intel.com>
上级 0ee5a7d7
......@@ -1105,6 +1105,7 @@ static int __devinit nvme_probe(struct pci_dev *pdev,
if (pci_enable_device_mem(pdev))
goto free;
pci_set_master(pdev);
INIT_LIST_HEAD(&dev->namespaces);
dev->pci_dev = pdev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册