summaryrefslogtreecommitdiffstats
path: root/drivers/block/nvme.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew.r.wilcox@intel.com>2011-02-01 09:01:59 -0500
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2011-11-04 15:52:53 -0400
commitf64d3365a3e5cb46e69db7e2c82a7cb9a5bed1b8 (patch)
tree8a4fda85551696ccbe6a71899b498a8e3b11bb8a /drivers/block/nvme.c
parent0ee5a7d7cb9309bd393a25c395f19fb12a842602 (diff)
downloadtalos-obmc-linux-f64d3365a3e5cb46e69db7e2c82a7cb9a5bed1b8.tar.gz
talos-obmc-linux-f64d3365a3e5cb46e69db7e2c82a7cb9a5bed1b8.zip
NVMe: Enable device DMA
Need to call pci_set_master() to enable device DMA Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'drivers/block/nvme.c')
-rw-r--r--drivers/block/nvme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/nvme.c b/drivers/block/nvme.c
index 1dda4b5c2302..128fd70031a9 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;
OpenPOWER on IntegriCloud