Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1471767
| From | Michael Moese <michael.moese@men.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [Add PCI DMA support to MCB 1/2] Enable PCI bus mastering by default |
| Date | 2016-08-29 14:20 +0200 |
| Message-ID | <sbtHI-7bR-17@gated-at.bofh.it> (permalink) |
| References | <sbtHI-7bR-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Signed-off-by: Michael Moese <michael.moese@men.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
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[Add PCI DMA support to MCB 0/2] Michael Moese <michael.moese@men.de> - 2016-08-29 14:20 +0200 [Add PCI DMA support to MCB 2/2] Add a dma_device to mcb_device Michael Moese <michael.moese@men.de> - 2016-08-29 14:20 +0200 [Add PCI DMA support to MCB 1/2] Enable PCI bus mastering by default Michael Moese <michael.moese@men.de> - 2016-08-29 14:20 +0200 Re: [Add PCI DMA support to MCB 0/2] <michael.moese@men.de> - 2016-08-29 14:30 +0200
csiph-web