Re: [PATCH] Enable suspend/resuming of e1000

From: Pavel Machek
Date: Tue Jun 01 2004 - 11:11:40 EST


Hi!

> > 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

Try hooking it to timer interrupt and see if network then works at
least somehow.
Pavel
--
Horseback riding is like software...
...vgf orggre jura vgf serr.
-
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/