Displaying 3 results from an estimated 3 matches for "pci_set_mwi".
2006 Aug 04
2
Dedicate PCI Devices to DomU?
...wn symbol pci_request_regions
qla2xxx: Unknown symbol pci_bus_write_config_byte
qla2xxx: Unknown symbol fc_remote_port_delete
qla2xxx: Unknown symbol pci_bus_read_config_dword
qla2xxx: Unknown symbol pci_bus_read_config_word
qla2xxx: Unknown symbol fc_release_transport
qla2xxx: Unknown symbol pci_set_mwi
qla2xxx: Unknown symbol pci_find_capability
qla2xxx: Unknown symbol fc_remote_port_rolechg
qla2xxx: Unknown symbol pci_bus_write_config_dword
qla2xxx: Unknown symbol pci_set_master
qla2xxx: Unknown symbol pci_bus_write_config_word
qla2xxx: Unknown symbol pci_release_regions
qla2xxx: Unknown...
2010 Jun 10
2
[PATCH for-2.6.35] virtio-pci: disable msi at startup
...to a known good state. */
+ pci_msi_off(pci_dev);
+
/* enable the device */
err = pci_enable_device(pci_dev);
if (err)
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 7cb0084..31d8a12 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -780,7 +780,11 @@ int __must_check pci_set_mwi(struct pci_dev *dev);
int pci_try_set_mwi(struct pci_dev *dev);
void pci_clear_mwi(struct pci_dev *dev);
void pci_intx(struct pci_dev *dev, int enable);
+#ifdef CONFIG_PCI_MSI
void pci_msi_off(struct pci_dev *dev);
+#else
+static inline void pci_msi_off(struct pci_dev *dev) {}
+#endif
int pci_...
2010 Jun 10
2
[PATCH for-2.6.35] virtio-pci: disable msi at startup
...to a known good state. */
+ pci_msi_off(pci_dev);
+
/* enable the device */
err = pci_enable_device(pci_dev);
if (err)
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 7cb0084..31d8a12 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -780,7 +780,11 @@ int __must_check pci_set_mwi(struct pci_dev *dev);
int pci_try_set_mwi(struct pci_dev *dev);
void pci_clear_mwi(struct pci_dev *dev);
void pci_intx(struct pci_dev *dev, int enable);
+#ifdef CONFIG_PCI_MSI
void pci_msi_off(struct pci_dev *dev);
+#else
+static inline void pci_msi_off(struct pci_dev *dev) {}
+#endif
int pci_...