commit | f64d3365a3e5cb46e69db7e2c82a7cb9a5bed1b8 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | Tue Feb 01 09:01:59 2011 -0500 |
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | Fri Nov 04 15:52:53 2011 -0400 |
tree | 8a4fda85551696ccbe6a71899b498a8e3b11bb8a | |
parent | 0ee5a7d7cb9309bd393a25c395f19fb12a842602 [diff] [blame] |
NVMe: Enable device DMA Need to call pci_set_master() to enable device DMA Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
diff --git a/drivers/block/nvme.c b/drivers/block/nvme.c index 1dda4b5..128fd70 100644 --- a/drivers/block/nvme.c +++ b/drivers/block/nvme.c
@@ -1105,6 +1105,7 @@ if (pci_enable_device_mem(pdev)) goto free; + pci_set_master(pdev); INIT_LIST_HEAD(&dev->namespaces); dev->pci_dev = pdev;