mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michael Moese <michael.moese@men.de>
To: <jthumshirn@suse.de>
Cc: <linux-kernel@vger.kernel.org>, Michael Moese <michael.moese@men.de>
Subject: [Add PCI DMA support to MCB 1/2] Enable PCI bus mastering by default
Date: Mon, 29 Aug 2016 14:08:22 +0200	[thread overview]
Message-ID: <f5ce224bc09399307337da16f502f4dcc26332f8.1472470255.git.michael.moese@men.de> (raw)
In-Reply-To: <cover.1472470255.git.michael.moese@men.de>

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

  reply	other threads:[~2016-08-29 12:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-29 12:08 [Add PCI DMA support to MCB 0/2] Michael Moese
2016-08-29 12:08 ` Michael Moese [this message]
2016-08-29 12:08 ` [Add PCI DMA support to MCB 2/2] Add a dma_device to mcb_device Michael Moese
2016-08-29 12:25 ` [Add PCI DMA support to MCB 0/2] michael.moese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f5ce224bc09399307337da16f502f4dcc26332f8.1472470255.git.michael.moese@men.de \
    --to=michael.moese@men.de \
    --cc=jthumshirn@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®