Add Message Signal Interrupt support to iwlwifi. Tested on 3945. Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxxxxxxxxxxxx> --- a/drivers/net/wireless/mac80211/iwlwifi/base.c 2007-06-13 11:10:10.000000000 -0700 +++ b/drivers/net/wireless/mac80211/iwlwifi/base.c 2007-06-13 13:10:25.000000000 -0700 @@ -8117,6 +8117,9 @@ static int iwl_pci_probe(struct pci_dev /* If power management is turned on, default to AC mode */ priv->power_mode = IWL_POWER_AC; priv->user_txpower_limit = IWL_DEFAULT_TX_POWER; + + pci_enable_msi(pdev); + err = request_irq(pdev->irq, iwl_isr, IRQF_SHARED, DRV_NAME, priv); if (err) { IWL_ERROR("Error allocating IRQ %d\n", pdev->irq); @@ -8155,6 +8158,7 @@ static int iwl_pci_probe(struct pci_dev sysfs_remove_group(&pdev->dev.kobj, &iwl_attribute_group); out_release_irq: + pci_disable_msi(pdev); free_irq(pdev->irq, priv); out_destroy_workqueue: @@ -8224,6 +8228,8 @@ static void iwl_pci_remove(struct pci_de destroy_workqueue(priv->workqueue); priv->workqueue = NULL; + pci_disable_msi(pdev); + free_irq(pdev->irq, priv); iounmap(priv->hw_base); pci_release_regions(pdev); - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html