git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
virtio-pci: disable msi at startup
[pandora-kernel.git]
/
drivers
/
virtio
/
virtio_pci.c
diff --git
a/drivers/virtio/virtio_pci.c
b/drivers/virtio/virtio_pci.c
index
95896f3
..
ef8d9d5
100644
(file)
--- a/
drivers/virtio/virtio_pci.c
+++ b/
drivers/virtio/virtio_pci.c
@@
-636,6
+636,9
@@
static int __devinit virtio_pci_probe(struct pci_dev *pci_dev,
INIT_LIST_HEAD(&vp_dev->virtqueues);
spin_lock_init(&vp_dev->lock);
+ /* Disable MSI/MSIX to bring device to a known good state. */
+ pci_msi_off(pci_dev);
+
/* enable the device */
err = pci_enable_device(pci_dev);
if (err)