Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=49df2b33478fd67e642d05786d06de322504842c
Commit:     49df2b33478fd67e642d05786d06de322504842c
Parent:     eb76bf29dd4aceaf877b8971fbfda8617abe6e05
Author:     Jes Sorensen <[EMAIL PROTECTED]>
AuthorDate: Fri Oct 26 16:10:39 2007 +0200
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:03:34 2008 -0800

    iwlwifi: disable interrupts before calling request_irq
    
    Disable interrupts in the iwl4965 before calling request_irq() for
    the case that the previous OS or the BIOS left a pending interrupt in
    the chip. This behavior has been observed on some laptops such as T61
    Thinkpads and Toshiba Portege R500
    
    Signed-off-by: Jes Sorensen <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 drivers/net/wireless/iwlwifi/iwl3945-base.c |    2 ++
 drivers/net/wireless/iwlwifi/iwl4965-base.c |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c 
b/drivers/net/wireless/iwlwifi/iwl3945-base.c
index 691d64e..e0f6f03 100644
--- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
@@ -8494,6 +8494,8 @@ static int iwl_pci_probe(struct pci_dev *pdev, const 
struct pci_device_id *ent)
        priv->power_mode = IWL_POWER_AC;
        priv->user_txpower_limit = IWL_DEFAULT_TX_POWER;
 
+       iwl_disable_interrupts(priv);
+
        pci_enable_msi(pdev);
 
        err = request_irq(pdev->irq, iwl_isr, IRQF_SHARED, DRV_NAME, priv);
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c 
b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index 6fb49b0..07df6c1 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -9122,6 +9122,8 @@ static int iwl_pci_probe(struct pci_dev *pdev, const 
struct pci_device_id *ent)
        priv->power_mode = IWL_POWER_AC;
        priv->user_txpower_limit = IWL_DEFAULT_TX_POWER;
 
+       iwl_disable_interrupts(priv);
+
        pci_enable_msi(pdev);
 
        err = request_irq(pdev->irq, iwl_isr, IRQF_SHARED, DRV_NAME, priv);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to