From: Gregory Haskins <ghaskins@novell.com>
To: linux-next@vger.kernel.org
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
alacrityvm-devel@lists.sourceforge.net
Subject: [-next PATCH 4/4] vbus: fix pcibridge busmaster support
Date: Mon, 23 Nov 2009 14:54:49 -0500 [thread overview]
Message-ID: <20091123195449.8184.18927.stgit@dev.haskins.net> (raw)
In-Reply-To: <20091123195136.8184.68042.stgit@dev.haskins.net>
We should technically enable the busmaster bit, even though its not
actually used on the host side
Signed-off-by: Gregory Haskins <ghaskins@novell.com>
---
drivers/vbus/pci-bridge.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/vbus/pci-bridge.c b/drivers/vbus/pci-bridge.c
index ddc3f39..962ef58 100644
--- a/drivers/vbus/pci-bridge.c
+++ b/drivers/vbus/pci-bridge.c
@@ -932,6 +932,8 @@ vbus_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
if (ret < 0)
return ret;
+ pci_set_master(pdev);
+
ret = pci_request_regions(pdev, VBUS_PCI_NAME);
if (ret < 0) {
printk(KERN_ERR "VBUS_PCI: Could not init BARs: %d\n", ret);
prev parent reply other threads:[~2009-11-23 19:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-23 19:54 [-next PATCH 0/4] Minor fixes for alacrityvm/linux-next branch Gregory Haskins
2009-11-23 19:54 ` [-next PATCH 1/4] vbus: make library code properly declared as GPL Gregory Haskins
2009-11-23 19:54 ` [-next PATCH 2/4] venet: add missing ethtool include Gregory Haskins
2009-11-23 19:54 ` [-next PATCH 3/4] vbus: add autoprobe capability to guest Gregory Haskins
2009-11-23 19:54 ` Gregory Haskins [this message]
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=20091123195449.8184.18927.stgit@dev.haskins.net \
--to=ghaskins@novell.com \
--cc=alacrityvm-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).