Re: [PATCH] Enable suspend/resuming of e1000

From: Alexander Gran
Date: Tue Jun 01 2004 - 09:03:49 EST


Am Dienstag, 1. Juni 2004 15:50 schrieben Sie:
> What happens if you unload/reload module around suspend?

doesn't work. This was my first attempt. Seems that the pci_save_state,
pci_disable device is really needed.

> You may want to free_irq in suspend routine and request it back in
> resume.

I also thought about that, however I tried to let e1000_suspend call
e1000_down everytime, as that calls e1000_irq_disable and free_irq. Than call
e1000_up in resume, as that does request_irq e1000_irq_enable.
This does not work, though. Still no irqs

Alex


--
Encrypted Mails welcome.
PGP-Key at http://zodiac.dnsalias.org/misc/pgpkey.asc | Key-ID: 0x6D7DD291
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/