[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f5ce224bc09399307337da16f502f4dcc26332f8.1472470255.git.michael.moese@men.de>
Date: Mon, 29 Aug 2016 14:08:22 +0200
From: Michael Moese <michael.moese@....de>
To: <jthumshirn@...e.de>
CC: <linux-kernel@...r.kernel.org>,
Michael Moese <michael.moese@....de>
Subject: [Add PCI DMA support to MCB 1/2] Enable PCI bus mastering by default
Signed-off-by: Michael Moese <michael.moese@....de>
---
drivers/mcb/mcb-pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mcb/mcb-pci.c b/drivers/mcb/mcb-pci.c
index b15a034..af4d2f2 100644
--- a/drivers/mcb/mcb-pci.c
+++ b/drivers/mcb/mcb-pci.c
@@ -46,6 +46,7 @@ static int mcb_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
dev_err(&pdev->dev, "Failed to enable PCI device\n");
return -ENODEV;
}
+ pci_set_master(pdev);
priv->mapbase = pci_resource_start(pdev, 0);
if (!priv->mapbase) {
--
2.6.6
Powered by blists - more mailing lists