[-next PATCH 4/4] vbus: fix pcibridge busmaster support

From: Gregory Haskins
Date: Mon Nov 23 2009 - 14:55:01 EST


We should technically enable the busmaster bit, even though its not
actually used on the host side

Signed-off-by: Gregory Haskins <ghaskins@xxxxxxxxxx>
---

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);

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/