search for: msi_dev_list

Displaying 1 result from an estimated 1 matches for "msi_dev_list".

2010 Feb 26
0
[Xen-devel] Crash during boot in Debian lenny default dom0 kernel (2.6.26-2-xen-686) / bugfix patch
...- pirq = msi_map_pirq_to_vector(dev, dev->irq, 0, 1); + pirq = msi_map_pirq_to_vector(dev, dev->irq, 0, 0); if (pirq < 0) return; @@ -296,19 +312,29 @@ static void __pci_restore_msix_state(struct pci_dev *dev) { + int pos; unsigned long flags; + u64 table_base; struct msi_dev_list *msi_dev_entry; struct msi_pirq_entry *pirq_entry, *tmp; + pos = pci_find_capability(dev, PCI_CAP_ID_MSIX); + if (pos <= 0) + return; + if (!dev->msix_enabled) return; msi_dev_entry = get_msi_dev_pirq_list(dev); + table_base = find_table_base(dev, pos); + if (!table_base) + re...