Commit:     518d83382568964ca9657511140398ebac925ecd
Parent:     f8a8ccd56d82bd4f4b5c7c2e7eb758c7764d98e1
Author:     Auke Kok <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 29 14:31:16 2007 -0800
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Tue Jan 30 09:36:02 2007 -0500

    e100: fix irq leak on suspend/resume
    e100: fix irq leak on suspend/resume
    From: Frederik Deweerdt <[EMAIL PROTECTED]>
    The e100_resume() function should be calling netif_device_detach and
    free_irq. This fixes multiple irq's being allocated after resume.
    Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]>
    Signed-off-by: Auke Kok <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
 drivers/net/e100.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/net/e100.c b/drivers/net/e100.c
index c2ae2a2..3208dac 100644
--- a/drivers/net/e100.c
+++ b/drivers/net/e100.c
@@ -2725,6 +2725,7 @@ static int e100_suspend(struct pci_dev *pdev, 
pm_message_t state)
+       netif_device_detach(netdev);
        if ((nic->flags & wol_magic) | e100_asf(nic)) {
@@ -2736,6 +2737,7 @@ static int e100_suspend(struct pci_dev *pdev, 
pm_message_t state)
+       free_irq(pdev->irq, netdev);
        pci_set_power_state(pdev, PCI_D3hot);
        return 0;
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

Reply via email to