diff options
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-02-01 09:01:59 -0500 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2011-11-04 15:52:53 -0400 |
commit | f64d3365a3e5cb46e69db7e2c82a7cb9a5bed1b8 (patch) | |
tree | 8a4fda85551696ccbe6a71899b498a8e3b11bb8a | |
parent | 0ee5a7d7cb9309bd393a25c395f19fb12a842602 (diff) |
NVMe: Enable device DMA
Need to call pci_set_master() to enable device DMA
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
-rw-r--r-- | drivers/block/nvme.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/nvme.c b/drivers/block/nvme.c index 1dda4b5c230..128fd70031a 100644 --- a/drivers/block/nvme.c +++ b/drivers/block/nvme.c @@ -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; |